Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_Buildings_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.00126/0.001259, allocations: 91.22 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.001643/0.001643, 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 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005414, allocations: 17.78 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2828, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.9317/1.215, allocations: 278.4 MB / 1.059 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03441/1.249, allocations: 26.33 MB / 1.085 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/1.252, allocations: 71.56 kB / 1.085 GB, free: 11 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003767/1.256, allocations: 0.8696 MB / 1.086 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/1.264, allocations: 2.084 MB / 1.088 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006876/1.271, allocations: 1.737 MB / 1.09 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007873/1.279, allocations: 4.773 MB / 1.094 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/1.282, allocations: 1.187 MB / 1.095 GB, free: 300 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/1.287, allocations: 1.712 MB / 1.097 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/1.29, allocations: 1.144 MB / 1.098 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000528/1.29, allocations: 71.94 kB / 1.098 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/1.295, allocations: 1.656 MB / 1.1 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009575/1.296, allocations: 474.3 kB / 1.1 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/1.297, allocations: 424.8 kB / 1.101 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00505/1.303, allocations: 3.043 MB / 1.104 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.303, allocations: 3.938 kB / 1.104 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/1.303, allocations: 4 kB / 1.104 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001094/1.303, allocations: 0 / 1.104 GB, free: 7.75 MB / 0.8106 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.004334/1.307, allocations: 1.95 MB / 1.106 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.307, allocations: 12.03 kB / 1.106 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003808/1.307, allocations: 160.8 kB / 1.106 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/1.311, allocations: 0.6221 MB / 1.106 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/1.315, allocations: 1.855 MB / 1.108 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006107/1.316, allocations: 222 kB / 1.108 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/1.316, allocations: 108 kB / 1.109 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/1.32, allocations: 1.391 MB / 1.11 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/1.32, allocations: 7.938 kB / 1.11 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/1.32, allocations: 48 kB / 1.11 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/1.32, allocations: 41.98 kB / 1.11 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/1.323, allocations: 1.058 MB / 1.111 GB, free: 44 kB / 0.8106 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.01026/1.333, allocations: 6.906 MB / 1.118 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/1.334, allocations: 374.3 kB / 1.118 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/1.335, allocations: 124.8 kB / 1.118 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/1.335, allocations: 194.1 kB / 1.118 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.335, allocations: 38.56 kB / 1.119 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000736/1.336, allocations: 71.06 kB / 1.119 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.756e-06/1.336, allocations: 0 / 1.119 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001663/1.337, allocations: 0.5293 MB / 1.119 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.337, allocations: 55.41 kB / 1.119 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/1.34, allocations: 1.726 MB / 1.121 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/1.34, allocations: 33.7 kB / 1.121 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007882/1.341, allocations: 0.8327 MB / 1.122 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/1.341, allocations: 78.94 kB / 1.122 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/1.341, allocations: 12 kB / 1.122 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.341, allocations: 330 kB / 1.122 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/1.342, allocations: 285.8 kB / 1.122 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/1.343, allocations: 0.6692 MB / 1.123 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/1.344, allocations: 367.7 kB / 1.123 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.344, allocations: 7.938 kB / 1.123 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002229/1.346, allocations: 1.032 MB / 1.124 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/1.347, allocations: 453.7 kB / 1.125 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.347, allocations: 12 kB / 1.125 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/1.347, allocations: 20 kB / 1.125 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/1.347, allocations: 199.7 kB / 1.125 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/1.347, allocations: 23.92 kB / 1.125 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.349, allocations: 176.4 kB / 1.125 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/1.349, allocations: 47.92 kB / 1.125 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/1.349, allocations: 4 kB / 1.125 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/1.351, allocations: 0.808 MB / 1.126 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.351, allocations: 12.88 kB / 1.126 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.351, allocations: 23.95 kB / 1.126 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/1.351, allocations: 187.7 kB / 1.126 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/1.351, allocations: 19.94 kB / 1.126 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.353, allocations: 142.6 kB / 1.126 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/1.353, allocations: 36 kB / 1.126 GB, free: 15.47 MB / 0.8419 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.0008991/1.354, allocations: 0.5202 MB / 1.127 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.354, allocations: 158 kB / 1.127 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/1.355, allocations: 428.9 kB / 1.128 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.355, allocations: 4 kB / 1.128 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.355, allocations: 0 / 1.128 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.355, allocations: 3.953 kB / 1.128 GB, free: 14.34 MB / 0.8419 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.00297/1.358, allocations: 1.537 MB / 1.129 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.358, allocations: 4 kB / 1.129 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/1.358, allocations: 52.22 kB / 1.129 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.358, allocations: 4 kB / 1.129 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/1.358, allocations: 11.92 kB / 1.129 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.358, allocations: 7.938 kB / 1.129 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.358, allocations: 0 / 1.129 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/1.359, allocations: 0.5698 MB / 1.13 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004835/1.36, allocations: 291 kB / 1.13 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/1.36, allocations: 4 kB / 1.13 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/1.361, allocations: 79.92 kB / 1.13 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/1.361, allocations: 19.98 kB / 1.13 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/1.361, allocations: 15.98 kB / 1.13 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001929/1.363, allocations: 1.19 MB / 1.131 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/1.363, allocations: 0 / 1.131 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002027/1.365, allocations: 0.6667 MB / 1.132 GB, free: 9.766 MB / 0.8419 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.00182/1.367, allocations: 1.311 MB / 1.133 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002235/1.369, allocations: 0.9346 MB / 1.134 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.369, allocations: 0 / 1.134 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/1.369, allocations: 136.4 kB / 1.134 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.373, allocations: 0.8119 MB / 1.135 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/1.397, allocations: 9.231 MB / 1.144 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.399, allocations: 1.28 MB / 1.145 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002174/1.401, allocations: 350 kB / 1.146 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009887/1.402, allocations: 0.5969 MB / 1.146 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of SimCode: time 1.814e-06/1.402, allocations: 0 / 1.146 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07475/1.477, allocations: 42.6 MB / 1.188 GB, free: 352 kB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/1.477, allocations: 188 kB / 1.188 GB, free: 108 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/4.293, allocations: 8 kB / 1.188 GB, free: 100 kB / 0.8887 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) Environment - environmentSimulation: