Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.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.HeaterFanPressureDriven,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",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.509/1.509, allocations: 287.4 MB / 302.6 MB, free: 8.215 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.001031/0.001031, allocations: 181.7 kB / 371.1 MB, free: 10.84 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.392/1.392, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0006949/0.0006949, allocations: 100.1 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005323, allocations: 11.34 kB / 0.8662 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2011, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.6719/0.8731, allocations: 285.6 MB / 1.258 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03313/0.9062, allocations: 28.09 MB / 1.285 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.909, allocations: 67.56 kB / 1.285 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.9123, allocations: 0.9742 MB / 1.286 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006557/0.9189, allocations: 2.178 MB / 1.288 GB, free: 14.75 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.9243, allocations: 1.746 MB / 1.29 GB, free: 13.01 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007131/0.9314, allocations: 5.182 MB / 1.295 GB, free: 7.82 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.9338, allocations: 1.591 MB / 1.296 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.9379, allocations: 1.805 MB / 1.298 GB, free: 4.367 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.9402, allocations: 1.249 MB / 1.299 GB, free: 3.113 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.9404, allocations: 68 kB / 1.3 GB, free: 3.047 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00655/0.947, allocations: 2.011 MB / 1.301 GB, free: 1.031 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008206/0.9478, allocations: 490.2 kB / 1.302 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.9487, allocations: 464.6 kB / 1.302 GB, free: 92 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.9533, allocations: 3.413 MB / 1.306 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.9534, allocations: 0 / 1.306 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9534, allocations: 0 / 1.306 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.607e-05/0.9534, allocations: 0 / 1.306 GB, free: 12.67 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00348/0.9569, allocations: 2.102 MB / 1.308 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.957, allocations: 12.03 kB / 1.308 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/0.9572, allocations: 194.3 kB / 1.308 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.9617, allocations: 0.8638 MB / 1.309 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.9649, allocations: 1.995 MB / 1.311 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006026/0.9655, allocations: 238.5 kB / 1.311 GB, free: 7.141 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.9657, allocations: 132 kB / 1.311 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.9689, allocations: 1.678 MB / 1.313 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.969, allocations: 3.984 kB / 1.313 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.9691, allocations: 52 kB / 1.313 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/0.9692, allocations: 46.53 kB / 1.313 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.9727, allocations: 1.513 MB / 1.314 GB, free: 3.652 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.0102/0.9829, allocations: 7.552 MB / 1.322 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/0.9864, allocations: 1.181 MB / 1.323 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.9876, allocations: 452.4 kB / 1.323 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.9879, allocations: 194.2 kB / 1.323 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.988, allocations: 34.56 kB / 1.324 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008548/0.9889, allocations: 155 kB / 1.324 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=38): time 4.098e-06/0.9889, allocations: 0 / 1.324 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38): time 0.004008/0.9929, allocations: 1.323 MB / 1.325 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.9929, allocations: 59.45 kB / 1.325 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.9956, allocations: 1.576 MB / 1.327 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/0.9957, allocations: 41.7 kB / 1.327 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.9964, allocations: 0.8379 MB / 1.327 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.9965, allocations: 134 kB / 1.328 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.9966, allocations: 8 kB / 1.328 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9967, allocations: 330 kB / 1.328 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.9979, allocations: 425 kB / 1.328 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.9992, allocations: 0.6586 MB / 1.329 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/1.002, allocations: 0.9973 MB / 1.33 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.002, allocations: 0 / 1.33 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002965/1.005, allocations: 1.198 MB / 1.331 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.005, allocations: 275.9 kB / 1.331 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.005, allocations: 4 kB / 1.331 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.005, allocations: 12 kB / 1.331 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.006, allocations: 239.7 kB / 1.332 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/1.006, allocations: 0.6094 MB / 1.332 GB, free: 432 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.008, allocations: 201.8 kB / 1.332 GB, free: 232 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/1.008, allocations: 32.08 kB / 1.332 GB, free: 200 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/1.008, allocations: 7.938 kB / 1.332 GB, free: 192 kB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002269/1.01, allocations: 0.9642 MB / 1.333 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.01, allocations: 8 kB / 1.333 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/1.01, allocations: 8 kB / 1.333 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/1.011, allocations: 203.8 kB / 1.334 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/1.011, allocations: 19.92 kB / 1.334 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/1.012, allocations: 172.3 kB / 1.334 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/1.013, allocations: 32 kB / 1.334 GB, free: 14.79 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 (73): * Single equations (assignments): 71 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008308/1.013, allocations: 0.5242 MB / 1.334 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/1.014, allocations: 161.9 kB / 1.334 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/1.016, allocations: 0.9978 MB / 1.335 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.016, allocations: 4 kB / 1.335 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.016, allocations: 3.984 kB / 1.335 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.016, allocations: 0 / 1.335 GB, free: 13.07 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.004886/1.021, allocations: 2.436 MB / 1.338 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.021, allocations: 0 / 1.338 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/1.022, allocations: 168 kB / 1.338 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.022, allocations: 0 / 1.338 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/1.022, allocations: 15.98 kB / 1.338 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002666/1.023, allocations: 0.5976 MB / 1.339 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.023, allocations: 4.031 kB / 1.339 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/1.025, allocations: 1.082 MB / 1.34 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/1.026, allocations: 322.9 kB / 1.34 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/1.026, allocations: 11.98 kB / 1.34 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.027, allocations: 143.8 kB / 1.34 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/1.027, allocations: 31.97 kB / 1.34 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/1.027, allocations: 23.97 kB / 1.34 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001596/1.029, allocations: 1.096 MB / 1.341 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/1.029, allocations: 3.938 kB / 1.341 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001968/1.031, allocations: 0.756 MB / 1.342 GB, free: 6.246 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003175/1.034, allocations: 1.828 MB / 1.344 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00388/1.038, allocations: 1.43 MB / 1.345 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.038, allocations: 0 / 1.345 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/1.039, allocations: 437.5 kB / 1.346 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.044, allocations: 0.8989 MB / 1.346 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.069, allocations: 10.59 MB / 1.357 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.07, allocations: 1.347 MB / 1.358 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002017/1.072, allocations: 374.2 kB / 1.358 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009297/1.073, allocations: 0.6594 MB / 1.359 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of SimCode: time 7.82e-07/1.073, allocations: 0 / 1.359 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3222/1.395, allocations: 47.37 MB / 1.405 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/1.395, allocations: 210.3 kB / 1.406 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/4.291, allocations: 7.875 kB / 1.406 GB, free: 4.852 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)