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 1.49/1.49, allocations: 287.4 MB / 302.6 MB, free: 8.27 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.001081/0.001081, allocations: 183 kB / 371.1 MB, free: 10.8 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.334/1.334, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0008009/0.000801, allocations: 97.17 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 12.8 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6205/0.8155, allocations: 278.4 MB / 1.251 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02953/0.8451, allocations: 26.33 MB / 1.276 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.8475, allocations: 63.62 kB / 1.276 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.8506, allocations: 0.8695 MB / 1.277 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.8563, allocations: 2.082 MB / 1.279 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005095/0.8614, allocations: 1.736 MB / 1.281 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005623/0.867, allocations: 4.843 MB / 1.286 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.8691, allocations: 1.406 MB / 1.287 GB, free: 15.82 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.8725, allocations: 1.708 MB / 1.289 GB, free: 14.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.8741, allocations: 1.124 MB / 1.29 GB, free: 12.97 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.8743, allocations: 64 kB / 1.29 GB, free: 12.91 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003662/0.878, allocations: 1.66 MB / 1.292 GB, free: 11.25 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004951/0.8785, allocations: 474.3 kB / 1.292 GB, free: 10.78 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005336/0.879, allocations: 424.7 kB / 1.292 GB, free: 10.36 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/0.8821, allocations: 3.043 MB / 1.295 GB, free: 7.309 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.8821, allocations: 0 / 1.295 GB, free: 7.309 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8821, allocations: 3.938 kB / 1.295 GB, free: 7.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.031e-05/0.8822, allocations: 0 / 1.295 GB, free: 7.305 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.002815/0.885, allocations: 1.935 MB / 1.297 GB, free: 5.309 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.885, allocations: 12.03 kB / 1.297 GB, free: 5.297 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.8852, allocations: 164.8 kB / 1.297 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.8883, allocations: 0.626 MB / 1.298 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.8911, allocations: 1.901 MB / 1.3 GB, free: 2.539 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005874/0.8917, allocations: 226 kB / 1.3 GB, free: 2.316 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.8918, allocations: 108 kB / 1.3 GB, free: 2.211 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.8941, allocations: 1.394 MB / 1.302 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.8942, allocations: 3.938 kB / 1.302 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/0.8943, allocations: 48 kB / 1.302 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.8943, allocations: 42 kB / 1.302 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.8965, allocations: 1.064 MB / 1.303 GB, free: 15.55 MB / 0.8386 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.00709/0.9036, allocations: 6.895 MB / 1.309 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.905, allocations: 366.6 kB / 1.31 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.9053, allocations: 132.7 kB / 1.31 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.9056, allocations: 186.2 kB / 1.31 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.9056, allocations: 42.56 kB / 1.31 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004304/0.9061, allocations: 78.98 kB / 1.31 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/0.9061, allocations: 0 / 1.31 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.001365/0.9074, allocations: 0.5325 MB / 1.311 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.9075, allocations: 55.41 kB / 1.311 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.9097, allocations: 1.714 MB / 1.312 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.9098, allocations: 41.7 kB / 1.312 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.9105, allocations: 0.825 MB / 1.313 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.9105, allocations: 82.92 kB / 1.313 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.9106, allocations: 16 kB / 1.313 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9107, allocations: 329.9 kB / 1.314 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.9114, allocations: 281.8 kB / 1.314 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/0.9124, allocations: 0.6769 MB / 1.315 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.9137, allocations: 0.8335 MB / 1.315 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.9138, allocations: 0 / 1.315 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002042/0.9158, allocations: 1.027 MB / 1.316 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.9161, allocations: 465.8 kB / 1.317 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.9161, allocations: 12 kB / 1.317 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/0.9161, allocations: 16.05 kB / 1.317 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.9169, allocations: 199.6 kB / 1.317 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.9169, allocations: 27.86 kB / 1.317 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.9181, allocations: 189.9 kB / 1.317 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.9182, allocations: 40 kB / 1.317 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.9182, allocations: 4 kB / 1.317 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00147/0.9197, allocations: 0.8 MB / 1.318 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9197, allocations: 15.94 kB / 1.318 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9197, allocations: 16.84 kB / 1.318 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.9203, allocations: 191.6 kB / 1.318 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.9203, allocations: 23.92 kB / 1.318 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.9213, allocations: 136.3 kB / 1.319 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.9213, allocations: 43.98 kB / 1.319 GB, free: 14.32 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.0006862/0.922, allocations: 0.5163 MB / 1.319 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.9222, allocations: 154 kB / 1.319 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/0.9231, allocations: 433.5 kB / 1.32 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9232, allocations: 4 kB / 1.32 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9232, allocations: 0 / 1.32 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9232, allocations: 3.984 kB / 1.32 GB, free: 13.2 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.00218/0.9254, allocations: 1.525 MB / 1.321 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9254, allocations: 3.938 kB / 1.321 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.9257, allocations: 60.14 kB / 1.321 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.9257, allocations: 4 kB / 1.321 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.9257, allocations: 4 kB / 1.321 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.9257, allocations: 4 kB / 1.321 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9257, allocations: 4 kB / 1.321 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.9266, allocations: 0.5701 MB / 1.322 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.9269, allocations: 287 kB / 1.322 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.9271, allocations: 4 kB / 1.322 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/0.9279, allocations: 83.92 kB / 1.322 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.9279, allocations: 23.86 kB / 1.322 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.928, allocations: 19.97 kB / 1.322 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001665/0.9296, allocations: 1.19 MB / 1.323 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9296, allocations: 0 / 1.323 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001667/0.9313, allocations: 0.6667 MB / 1.324 GB, free: 8.625 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.001633/0.933, allocations: 1.295 MB / 1.325 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.9351, allocations: 0.9457 MB / 1.326 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.9351, allocations: 1.562 kB / 1.326 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.9355, allocations: 136.3 kB / 1.326 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/0.9392, allocations: 0.7928 MB / 1.327 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.9601, allocations: 9.246 MB / 1.336 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/0.961, allocations: 1.284 MB / 1.337 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001583/0.9626, allocations: 350.1 kB / 1.338 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/0.9633, allocations: 0.5969 MB / 1.338 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of SimCode: time 6.61e-07/0.9633, allocations: 0 / 1.338 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1938/1.157, allocations: 42.99 MB / 1.38 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.157, allocations: 190.5 kB / 1.38 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/4.144, allocations: 0 / 1.38 GB, free: 14.44 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)