Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.544/1.544, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0008947/0.0008947, allocations: 181.6 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007166/0.0007166, allocations: 90.84 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 15.39 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.5834/0.7423, allocations: 285.6 MB / 1.259 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03244/0.7748, allocations: 28.11 MB / 1.287 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.7773, allocations: 63.62 kB / 1.287 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.7805, allocations: 1.115 MB / 1.288 GB, free: 15.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007992/0.7885, allocations: 2.496 MB / 1.29 GB, free: 12.89 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.7933, allocations: 1.917 MB / 1.292 GB, free: 10.99 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00538/0.7987, allocations: 5.178 MB / 1.297 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.8006, allocations: 1.591 MB / 1.299 GB, free: 4.16 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.8038, allocations: 1.903 MB / 1.301 GB, free: 2.25 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.8061, allocations: 1.263 MB / 1.302 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.8063, allocations: 68 kB / 1.302 GB, free: 0.918 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005882/0.8122, allocations: 3.534 MB / 1.305 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004774/0.8127, allocations: 494.2 kB / 1.306 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0009176/0.8136, allocations: 0.9542 MB / 1.307 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.8168, allocations: 3.581 MB / 1.31 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8168, allocations: 0 / 1.31 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8168, allocations: 0 / 1.31 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.8168, allocations: 0 / 1.31 GB, free: 8.336 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.00367/0.8205, allocations: 2.096 MB / 1.312 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.8206, allocations: 12.03 kB / 1.312 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003072/0.8209, allocations: 190.2 kB / 1.312 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.8259, allocations: 0.8677 MB / 1.313 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.8288, allocations: 1.991 MB / 1.315 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005969/0.8294, allocations: 238.4 kB / 1.315 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.8296, allocations: 132 kB / 1.316 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/0.8326, allocations: 1.657 MB / 1.317 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.8326, allocations: 7.938 kB / 1.317 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.8327, allocations: 52 kB / 1.317 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.8328, allocations: 42.52 kB / 1.317 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.8361, allocations: 1.501 MB / 1.319 GB, free: 15.36 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 preOpt removeSimpleEquations (simulation): time 0.008391/0.8445, allocations: 7.395 MB / 1.326 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.8466, allocations: 0.6831 MB / 1.327 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/0.8473, allocations: 305.3 kB / 1.327 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.8475, allocations: 197.9 kB / 1.327 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.8476, allocations: 42.5 kB / 1.327 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003689/0.8479, allocations: 83.42 kB / 1.327 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.848, allocations: 0 / 1.327 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.00287/0.8508, allocations: 1.33 MB / 1.329 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.8509, allocations: 59.16 kB / 1.329 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/0.8548, allocations: 1.851 MB / 1.33 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.8548, allocations: 33.7 kB / 1.33 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/0.8554, allocations: 0.8152 MB / 1.331 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.8555, allocations: 130.1 kB / 1.331 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.8556, allocations: 16 kB / 1.331 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.8557, allocations: 329.9 kB / 1.332 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.8568, allocations: 413.1 kB / 1.332 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.8581, allocations: 0.6508 MB / 1.333 GB, free: 228 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.8599, allocations: 0.8686 MB / 1.334 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.8599, allocations: 4 kB / 1.334 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00281/0.8627, allocations: 1.397 MB / 1.335 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.8629, allocations: 276.5 kB / 1.335 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8629, allocations: 8 kB / 1.335 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.8631, allocations: 61.69 kB / 1.335 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009977/0.8641, allocations: 219.6 kB / 1.335 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.8657, allocations: 2.821 MB / 1.338 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.8675, allocations: 276.3 kB / 1.338 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.8675, allocations: 35.98 kB / 1.338 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-06/0.8676, allocations: 5.562 kB / 1.339 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002326/0.8699, allocations: 1.151 MB / 1.34 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.8699, allocations: 7.984 kB / 1.34 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.87, allocations: 65.97 kB / 1.34 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00089/0.8709, allocations: 207.6 kB / 1.34 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.8726, allocations: 2.817 MB / 1.343 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.8739, allocations: 216.4 kB / 1.343 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.874, allocations: 31.98 kB / 1.343 GB, free: 4.969 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000804/0.8748, allocations: 0.5243 MB / 1.343 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.875, allocations: 173.8 kB / 1.344 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.8768, allocations: 0.928 MB / 1.344 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8768, allocations: 7.938 kB / 1.344 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.8768, allocations: 0 / 1.344 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.8768, allocations: 7.984 kB / 1.344 GB, free: 3.254 MB / 0.8698 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.003116/0.88, allocations: 2.17 MB / 1.347 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.88, allocations: 4.125 kB / 1.347 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.8805, allocations: 91.86 kB / 1.347 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.8806, allocations: 57.69 kB / 1.347 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.8807, allocations: 11.94 kB / 1.347 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.8823, allocations: 2.832 MB / 1.35 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8823, allocations: 0 / 1.35 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.8839, allocations: 0.9896 MB / 1.35 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.8843, allocations: 326.8 kB / 1.351 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.8844, allocations: 7.984 kB / 1.351 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.8855, allocations: 143.7 kB / 1.351 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.8856, allocations: 31.84 kB / 1.351 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.8856, allocations: 19.98 kB / 1.351 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001868/0.8875, allocations: 1.317 MB / 1.352 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8875, allocations: 0 / 1.352 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00188/0.8894, allocations: 0.7563 MB / 1.353 GB, free: 9.992 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002204/0.8916, allocations: 1.756 MB / 1.355 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003451/0.8951, allocations: 1.714 MB / 1.356 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8951, allocations: 4 kB / 1.356 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007823/0.8959, allocations: 0.5023 MB / 1.357 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/0.8998, allocations: 0.9584 MB / 1.358 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.9203, allocations: 10.58 MB / 1.368 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.9212, allocations: 1.344 MB / 1.369 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001706/0.9229, allocations: 374.9 kB / 1.37 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007837/0.9237, allocations: 0.6477 MB / 1.37 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.9237, allocations: 3.938 kB / 1.37 GB, free: 7.227 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9321/1.856, allocations: 50.35 MB / 1.42 GB, free: 5.27 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.856, allocations: 204 kB / 1.42 GB, free: 5.027 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.507/5.363, allocations: 0 / 1.42 GB, free: 5.027 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)