Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00157/0.00157, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004287, allocations: 8.219 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6692/0.8809, allocations: 278.3 MB / 0.8592 GB, free: 6.355 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.5046/1.386, allocations: 23.79 MB / 0.8825 GB, free: 29.05 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/1.388, allocations: 68.06 kB / 0.8825 GB, free: 29.05 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002998/1.391, allocations: 0.8656 MB / 0.8834 GB, free: 29.04 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/1.398, allocations: 2.085 MB / 0.8854 GB, free: 28.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/1.403, allocations: 1.727 MB / 0.8871 GB, free: 28.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008371/1.412, allocations: 4.79 MB / 0.8918 GB, free: 28.9 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/1.415, allocations: 1.202 MB / 0.893 GB, free: 28.74 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005129/1.42, allocations: 1.713 MB / 0.8946 GB, free: 28.72 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/1.423, allocations: 1.142 MB / 0.8957 GB, free: 28.72 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005579/1.423, allocations: 60.81 kB / 0.8958 GB, free: 28.72 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/1.429, allocations: 1.647 MB / 0.8974 GB, free: 28.69 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/1.43, allocations: 477.9 kB / 0.8979 GB, free: 28.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/1.431, allocations: 429.5 kB / 0.8983 GB, free: 28.66 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006126/1.437, allocations: 3.05 MB / 0.9013 GB, free: 28.46 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.437, allocations: 0 / 0.9013 GB, free: 28.46 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.954e-06/1.437, allocations: 0.5938 kB / 0.9013 GB, free: 28.46 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001357/1.438, allocations: 0 / 0.9013 GB, free: 28.46 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.00598/1.444, allocations: 1.955 MB / 0.9032 GB, free: 27.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.444, allocations: 16.36 kB / 0.9032 GB, free: 27.34 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000548/1.444, allocations: 164 kB / 0.9033 GB, free: 27.29 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004769/1.449, allocations: 0.6212 MB / 0.9039 GB, free: 27.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005308/1.454, allocations: 1.858 MB / 0.9058 GB, free: 26.78 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000671/1.455, allocations: 220.2 kB / 0.906 GB, free: 26.76 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/1.455, allocations: 108.7 kB / 0.9061 GB, free: 26.76 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/1.459, allocations: 1.399 MB / 0.9074 GB, free: 26.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/1.459, allocations: 7.062 kB / 0.9074 GB, free: 26.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/1.46, allocations: 44 kB / 0.9075 GB, free: 26.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.311e-05/1.46, allocations: 39.31 kB / 0.9075 GB, free: 26.45 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/1.463, allocations: 1.061 MB / 0.9086 GB, free: 26.42 MB / 0.67 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.01165/1.474, allocations: 6.903 MB / 0.9153 GB, free: 22.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/1.476, allocations: 362.7 kB / 0.9156 GB, free: 22.58 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/1.476, allocations: 130.5 kB / 0.9158 GB, free: 22.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/1.477, allocations: 199 kB / 0.916 GB, free: 22.38 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/1.477, allocations: 39.58 kB / 0.916 GB, free: 22.34 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/1.478, allocations: 81.25 kB / 0.9161 GB, free: 22.29 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 4.408e-06/1.478, allocations: 0 / 0.9161 GB, free: 22.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.002046/1.48, allocations: 0.5221 MB / 0.9166 GB, free: 22.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/1.48, allocations: 57.97 kB / 0.9166 GB, free: 22.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/1.484, allocations: 1.724 MB / 0.9183 GB, free: 21.86 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/1.484, allocations: 38.23 kB / 0.9184 GB, free: 21.83 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007951/1.485, allocations: 0.834 MB / 0.9192 GB, free: 21.54 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-05/1.485, allocations: 78.72 kB / 0.9192 GB, free: 21.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/1.485, allocations: 15.75 kB / 0.9193 GB, free: 21.49 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/1.485, allocations: 336 kB / 0.9196 GB, free: 21.19 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007985/1.486, allocations: 281.1 kB / 0.9199 GB, free: 21.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.487, allocations: 0.6716 MB / 0.9205 GB, free: 20.67 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/1.488, allocations: 366.3 kB / 0.9209 GB, free: 20.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/1.488, allocations: 3.531 kB / 0.9209 GB, free: 20.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003025/1.491, allocations: 1.042 MB / 0.9219 GB, free: 20.49 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003564/1.492, allocations: 452.9 kB / 0.9223 GB, free: 19.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/1.492, allocations: 11.84 kB / 0.9223 GB, free: 19.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-05/1.492, allocations: 18.19 kB / 0.9223 GB, free: 19.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/1.493, allocations: 205.5 kB / 0.9225 GB, free: 19.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.641e-05/1.493, allocations: 23.73 kB / 0.9226 GB, free: 19.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.495, allocations: 185.3 kB / 0.9227 GB, free: 19.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.495, allocations: 42.3 kB / 0.9228 GB, free: 19.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.495, allocations: 4.156 kB / 0.9228 GB, free: 19.94 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002202/1.497, allocations: 0.7994 MB / 0.9236 GB, free: 19.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-05/1.497, allocations: 12.62 kB / 0.9236 GB, free: 19.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/1.497, allocations: 17.56 kB / 0.9236 GB, free: 19.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/1.498, allocations: 190.7 kB / 0.9238 GB, free: 19.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.42e-05/1.498, allocations: 28.59 kB / 0.9238 GB, free: 19.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/1.5, allocations: 128.9 kB / 0.9239 GB, free: 19.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/1.5, allocations: 37.3 kB / 0.924 GB, free: 19.89 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001204/1.501, allocations: 0.5184 MB / 0.9245 GB, free: 19.69 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/1.501, allocations: 160.9 kB / 0.9246 GB, free: 19.61 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.503, allocations: 432.4 kB / 0.925 GB, free: 19.54 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.503, allocations: 2.719 kB / 0.925 GB, free: 19.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.503, allocations: 0 / 0.925 GB, free: 19.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.503, allocations: 7.281 kB / 0.925 GB, free: 19.54 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.004102/1.507, allocations: 1.526 MB / 0.9265 GB, free: 19.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.507, allocations: 1.875 kB / 0.9265 GB, free: 19.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/1.507, allocations: 53.27 kB / 0.9266 GB, free: 19.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/1.507, allocations: 2.656 kB / 0.9266 GB, free: 19.14 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/1.507, allocations: 9.438 kB / 0.9266 GB, free: 19.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.507, allocations: 13.19 kB / 0.9266 GB, free: 19.13 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.507, allocations: 5.219 kB / 0.9266 GB, free: 19.13 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/1.509, allocations: 0.554 MB / 0.9271 GB, free: 18.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007725/1.509, allocations: 291.3 kB / 0.9274 GB, free: 18.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/1.51, allocations: 12.56 kB / 0.9274 GB, free: 18.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.511, allocations: 85.52 kB / 0.9275 GB, free: 18.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/1.511, allocations: 20.38 kB / 0.9275 GB, free: 18.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/1.511, allocations: 16.58 kB / 0.9276 GB, free: 18.64 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002314/1.513, allocations: 1.195 MB / 0.9287 GB, free: 18.49 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.41e-07/1.513, allocations: 0 / 0.9287 GB, free: 18.49 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003427/1.517, allocations: 0.6594 MB / 0.9294 GB, free: 18.42 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002143/1.519, allocations: 1.303 MB / 0.9306 GB, free: 17.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.521, allocations: 0.936 MB / 0.9316 GB, free: 17.54 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.521, allocations: 5.344 kB / 0.9316 GB, free: 17.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/1.522, allocations: 129.5 kB / 0.9317 GB, free: 17.54 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/1.526, allocations: 0.8006 MB / 0.9325 GB, free: 17.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/1.552, allocations: 9.275 MB / 0.9415 GB, free: 13.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.554, allocations: 1.287 MB / 0.9428 GB, free: 12.45 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002255/1.556, allocations: 338.7 kB / 0.9431 GB, free: 12.28 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.557, allocations: 0.5942 MB / 0.9437 GB, free: 12.22 MB / 0.67 GB Notification: Performance of SimCode: time 1.242e-06/1.557, allocations: 3.938 kB / 0.9437 GB, free: 12.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07659/1.634, allocations: 42.49 MB / 0.9852 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.634, allocations: 178.1 kB / 0.9854 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/4.387, allocations: 1.859 kB / 0.9854 GB, free: 10.61 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) Environment - environmentSimulation: