Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.741/2.741, allocations: 287.5 MB / 302.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002665/0.002664, allocations: 176.4 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008924/0.0008925, allocations: 97.62 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005232/0.0005235, allocations: 12.7 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2134, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.177/1.391, allocations: 278.4 MB / 1.25 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.06316/1.454, allocations: 26.32 MB / 1.276 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004342/1.458, allocations: 67.56 kB / 1.276 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00683/1.465, allocations: 0.8656 MB / 1.277 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.009708/1.475, allocations: 2.08 MB / 1.279 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.007894/1.483, allocations: 1.732 MB / 1.281 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.009688/1.492, allocations: 4.783 MB / 1.285 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003184/1.496, allocations: 1.183 MB / 1.287 GB, free: 264 kB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/1.502, allocations: 1.7 MB / 1.288 GB, free: 14.55 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/1.505, allocations: 1.136 MB / 1.289 GB, free: 13.41 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004695/1.505, allocations: 64 kB / 1.289 GB, free: 13.35 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007218/1.513, allocations: 1.66 MB / 1.291 GB, free: 11.68 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/1.514, allocations: 474.2 kB / 1.291 GB, free: 11.22 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009921/1.515, allocations: 428.8 kB / 1.292 GB, free: 10.79 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007188/1.522, allocations: 3.047 MB / 1.295 GB, free: 7.738 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.522, allocations: 0 / 1.295 GB, free: 7.738 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.407e-06/1.522, allocations: 0 / 1.295 GB, free: 7.738 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.594e-05/1.522, allocations: 0 / 1.295 GB, free: 7.738 MB / 0.823 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.005848/1.528, allocations: 1.962 MB / 1.297 GB, free: 5.715 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.528, allocations: 12.02 kB / 1.297 GB, free: 5.703 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005697/1.529, allocations: 160.8 kB / 1.297 GB, free: 5.535 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/1.535, allocations: 0.626 MB / 1.297 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/1.541, allocations: 1.855 MB / 1.299 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00124/1.542, allocations: 214 kB / 1.3 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/1.542, allocations: 112 kB / 1.3 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/1.547, allocations: 1.398 MB / 1.301 GB, free: 1.164 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/1.547, allocations: 0 / 1.301 GB, free: 1.164 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/1.547, allocations: 44 kB / 1.301 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.06e-05/1.547, allocations: 41.98 kB / 1.301 GB, free: 1.082 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/1.552, allocations: 1.058 MB / 1.302 GB, free: 24 kB / 0.823 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.01371/1.566, allocations: 6.903 MB / 1.309 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/1.568, allocations: 366.5 kB / 1.309 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/1.569, allocations: 136.8 kB / 1.309 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/1.57, allocations: 190.2 kB / 1.31 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/1.57, allocations: 30.56 kB / 1.31 GB, free: 7.988 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008567/1.57, allocations: 82.98 kB / 1.31 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 3.447e-06/1.57, allocations: 0 / 1.31 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.002673/1.573, allocations: 0.5364 MB / 1.31 GB, free: 7.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.573, allocations: 51.41 kB / 1.31 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/1.577, allocations: 1.722 MB / 1.312 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/1.578, allocations: 33.7 kB / 1.312 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.579, allocations: 0.825 MB / 1.313 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.579, allocations: 75 kB / 1.313 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/1.579, allocations: 20 kB / 1.313 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.579, allocations: 334 kB / 1.313 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/1.581, allocations: 285.8 kB / 1.313 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/1.583, allocations: 0.6691 MB / 1.314 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/1.584, allocations: 363.7 kB / 1.314 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.584, allocations: 11.89 kB / 1.314 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00424/1.588, allocations: 1.031 MB / 1.315 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004089/1.589, allocations: 444.6 kB / 1.316 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/1.589, allocations: 12 kB / 1.316 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.39e-05/1.589, allocations: 20 kB / 1.316 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/1.591, allocations: 203.7 kB / 1.316 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.859e-05/1.591, allocations: 27.98 kB / 1.316 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/1.593, allocations: 185.8 kB / 1.316 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/1.594, allocations: 43.98 kB / 1.316 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.594, allocations: 4 kB / 1.316 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003123/1.597, allocations: 0.8047 MB / 1.317 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.597, allocations: 15.95 kB / 1.317 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/1.597, allocations: 20 kB / 1.317 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.598, allocations: 191.9 kB / 1.317 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.51e-05/1.598, allocations: 27.86 kB / 1.317 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/1.6, allocations: 128.4 kB / 1.317 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/1.6, allocations: 43.98 kB / 1.317 GB, free: 15.43 MB / 0.8542 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.001292/1.602, allocations: 0.5124 MB / 1.318 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/1.602, allocations: 158 kB / 1.318 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/1.604, allocations: 428.9 kB / 1.319 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/1.604, allocations: 4 kB / 1.319 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.604, allocations: 3.953 kB / 1.319 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.604, allocations: 3.984 kB / 1.319 GB, free: 14.31 MB / 0.8542 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.004573/1.609, allocations: 1.525 MB / 1.32 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.609, allocations: 4 kB / 1.32 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/1.609, allocations: 47.91 kB / 1.32 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/1.609, allocations: 7.984 kB / 1.32 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/1.609, allocations: 8 kB / 1.32 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/1.609, allocations: 8.25 kB / 1.32 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.609, allocations: 8 kB / 1.32 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.611, allocations: 0.5707 MB / 1.321 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008404/1.612, allocations: 287 kB / 1.321 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/1.613, allocations: 8 kB / 1.321 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.614, allocations: 83.86 kB / 1.321 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/1.614, allocations: 15.92 kB / 1.321 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/1.614, allocations: 19.98 kB / 1.321 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003377/1.618, allocations: 1.194 MB / 1.322 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.22e-07/1.618, allocations: 0 / 1.322 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003039/1.621, allocations: 0.6628 MB / 1.323 GB, free: 9.734 MB / 0.8542 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.002827/1.624, allocations: 1.306 MB / 1.324 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003992/1.628, allocations: 0.938 MB / 1.325 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.628, allocations: 0 / 1.325 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/1.628, allocations: 136.7 kB / 1.325 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006708/1.635, allocations: 0.7985 MB / 1.326 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04494/1.68, allocations: 9.239 MB / 1.335 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.682, allocations: 1.284 MB / 1.336 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002864/1.684, allocations: 350 kB / 1.337 GB, free: 11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.686, allocations: 0.5891 MB / 1.337 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of SimCode: time 5.06e-06/1.686, allocations: 0 / 1.337 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.807, allocations: 42.62 MB / 1.379 GB, free: 168 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003923/1.807, allocations: 196.5 kB / 1.379 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.134/5.942, allocations: 0 / 1.379 GB, free: 15.92 MB / 0.9167 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)