Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.5 kB / 17.08 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 192.7 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6816/0.6816, allocations: 115.3 MB / 407.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 61.89 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1248, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6506/0.7754, allocations: 304.8 MB / 0.9304 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03501/0.8105, allocations: 27.45 MB / 0.9572 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/0.814, allocations: 79.56 kB / 0.9573 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006527/0.8205, allocations: 2.223 MB / 0.9595 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00849/0.829, allocations: 3.057 MB / 0.9624 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007554/0.8366, allocations: 2.747 MB / 0.9651 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01241/0.849, allocations: 7.258 MB / 0.9722 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.8523, allocations: 1.82 MB / 0.974 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.8572, allocations: 2.281 MB / 0.9762 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/0.8601, allocations: 1.35 MB / 0.9775 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006149/0.8607, allocations: 216 kB / 0.9777 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006136/0.8669, allocations: 3.216 MB / 0.9809 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009653/0.8679, allocations: 0.7595 MB / 0.9816 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.8699, allocations: 1.256 MB / 0.9828 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00793/0.8779, allocations: 4.92 MB / 0.9877 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8779, allocations: 0 / 0.9877 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8779, allocations: 0 / 0.9877 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001143/0.878, allocations: 4 kB / 0.9877 GB, free: 0.5469 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.00759/0.8856, allocations: 2.739 MB / 0.9903 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.8857, allocations: 8.031 kB / 0.9903 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004339/0.89, allocations: 0.7191 MB / 0.991 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.9001, allocations: 5.646 MB / 0.9966 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.9002, allocations: 86.19 kB / 0.9966 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.9006, allocations: 112 kB / 0.9967 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.9037, allocations: 1.406 MB / 0.9981 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.9038, allocations: 3.938 kB / 0.9981 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.9039, allocations: 48 kB / 0.9982 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.904, allocations: 42 kB / 0.9982 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.9064, allocations: 0.9795 MB / 0.9992 GB, free: 4.488 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009238/0.9156, allocations: 7.66 MB / 1.007 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.9165, allocations: 371.7 kB / 1.007 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.9169, allocations: 120.7 kB / 1.007 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.9172, allocations: 182.2 kB / 1.007 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.9172, allocations: 38.56 kB / 1.007 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.9172, allocations: 0 / 1.007 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of matching and sorting (n=18): time 0.001632/0.9188, allocations: 0.5244 MB / 1.008 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.9189, allocations: 51.41 kB / 1.008 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004316/0.9232, allocations: 2.287 MB / 1.01 GB, free: 8.742 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-05/0.9233, allocations: 33.7 kB / 1.01 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.9245, allocations: 0.9745 MB / 1.011 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.9247, allocations: 83.06 kB / 1.011 GB, free: 7.633 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006394/0.9254, allocations: 278.2 kB / 1.011 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.9256, allocations: 361.9 kB / 1.012 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.9265, allocations: 456.9 kB / 1.012 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.928, allocations: 0.9036 MB / 1.013 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.9298, allocations: 1.205 MB / 1.014 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.9299, allocations: 4 kB / 1.014 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002953/0.9328, allocations: 1.503 MB / 1.016 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.9329, allocations: 12 kB / 1.016 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.9329, allocations: 12 kB / 1.016 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-05/0.9329, allocations: 20 kB / 1.016 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/0.9339, allocations: 251.7 kB / 1.016 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/0.9339, allocations: 27.92 kB / 1.016 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.9354, allocations: 214 kB / 1.016 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.9355, allocations: 55.98 kB / 1.016 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001634/0.9371, allocations: 0.9317 MB / 1.017 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001229/0.9384, allocations: 0.8841 MB / 1.018 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001627/0.94, allocations: 1.204 MB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.447e-06/0.94, allocations: 4 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00267/0.9427, allocations: 1.484 MB / 1.021 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.9427, allocations: 16 kB / 1.021 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.9428, allocations: 12 kB / 1.021 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.9428, allocations: 20 kB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.9436, allocations: 243.6 kB / 1.021 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.62e-05/0.9436, allocations: 27.92 kB / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.945, allocations: 135.9 kB / 1.021 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.9452, allocations: 55.98 kB / 1.021 GB, free: 12.51 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.9454, allocations: 251.8 kB / 1.021 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/0.9458, allocations: 197.4 kB / 1.022 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.9463, allocations: 164 kB / 1.022 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9463, allocations: 7.984 kB / 1.022 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9463, allocations: 0 / 1.022 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.9463, allocations: 3.938 kB / 1.022 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.95, allocations: 1.874 MB / 1.024 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.95, allocations: 8.094 kB / 1.024 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.9503, allocations: 43.91 kB / 1.024 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.9503, allocations: 8 kB / 1.024 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.9504, allocations: 11.98 kB / 1.024 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.9504, allocations: 8 kB / 1.024 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.9504, allocations: 12 kB / 1.024 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.9516, allocations: 0.5747 MB / 1.024 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.9522, allocations: 334.3 kB / 1.025 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.9526, allocations: 4 kB / 1.025 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008962/0.9535, allocations: 47.95 kB / 1.025 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.9535, allocations: 31.84 kB / 1.025 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.9536, allocations: 8 kB / 1.025 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002779/0.9564, allocations: 1.551 MB / 1.026 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9564, allocations: 0 / 1.026 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002589/0.959, allocations: 0.8192 MB / 1.027 GB, free: 6.336 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.96, allocations: 432.4 kB / 1.027 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003021/0.963, allocations: 1.442 MB / 1.029 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.963, allocations: 0 / 1.029 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.9634, allocations: 125 kB / 1.029 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/0.9679, allocations: 1.072 MB / 1.03 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.9734, allocations: 3.118 MB / 1.033 GB, free: 92 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.9748, allocations: 1.485 MB / 1.034 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.9752, allocations: 131.4 kB / 1.035 GB, free: 14.45 MB / 0.795 GB Notification: Performance of SimCode: time 6.61e-07/0.9752, allocations: 0 / 1.035 GB, free: 14.45 MB / 0.795 GB Notification: Performance of Templates: time 0.3363/1.311, allocations: 33.79 MB / 1.068 GB, free: 315.6 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)