Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",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.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 286.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8633/0.8633, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001815, allocations: 106.3 kB / 0.5953 GB, free: 27.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1675, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.6331/0.8007, allocations: 237.5 MB / 0.9122 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.8215, allocations: 15.77 MB / 0.9277 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.8242, allocations: 63.62 kB / 0.9277 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.8275, allocations: 1.045 MB / 0.9287 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008906/0.8364, allocations: 2.969 MB / 0.9316 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.8412, allocations: 1.668 MB / 0.9333 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005503/0.8468, allocations: 3.434 MB / 0.9366 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.849, allocations: 1.284 MB / 0.9379 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.8553, allocations: 2.489 MB / 0.9403 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.8575, allocations: 1.081 MB / 0.9414 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002775/0.8578, allocations: 116 kB / 0.9415 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006101/0.8639, allocations: 3.094 MB / 0.9445 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006644/0.8646, allocations: 478.4 kB / 0.9449 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.8658, allocations: 0.8085 MB / 0.9457 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.871, allocations: 2.949 MB / 0.9486 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8711, allocations: 0 / 0.9486 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.426e-06/0.8711, allocations: 4 kB / 0.9486 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.8711, allocations: 3.938 kB / 0.9486 GB, free: 4.398 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003488/0.8746, allocations: 2.004 MB / 0.9506 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.8746, allocations: 8.031 kB / 0.9506 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.8748, allocations: 161.3 kB / 0.9507 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.8776, allocations: 0.4897 MB / 0.9512 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.8797, allocations: 1.11 MB / 0.9523 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009156/0.8806, allocations: 241.8 kB / 0.9525 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.8808, allocations: 100 kB / 0.9526 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.8831, allocations: 1.373 MB / 0.954 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.8832, allocations: 7.938 kB / 0.954 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/0.8833, allocations: 40 kB / 0.954 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.8833, allocations: 46 kB / 0.9541 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.8859, allocations: 1.081 MB / 0.9551 GB, free: 13.51 MB / 0.67 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.00782/0.8937, allocations: 7.443 MB / 0.9624 GB, free: 5.594 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.8955, allocations: 0.5699 MB / 0.9629 GB, free: 5.016 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/0.8962, allocations: 273.2 kB / 0.9632 GB, free: 4.746 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/0.8966, allocations: 291.5 kB / 0.9635 GB, free: 4.406 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.8966, allocations: 38.84 kB / 0.9635 GB, free: 4.359 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.8966, allocations: 0 / 0.9635 GB, free: 4.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002701/0.8993, allocations: 0.864 MB / 0.9644 GB, free: 3.488 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.8994, allocations: 55.41 kB / 0.9644 GB, free: 3.422 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.9015, allocations: 1.399 MB / 0.9658 GB, free: 2.012 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/0.9016, allocations: 33.7 kB / 0.9658 GB, free: 1.973 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007143/0.9023, allocations: 0.7064 MB / 0.9665 GB, free: 1.262 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.9024, allocations: 118.4 kB / 0.9666 GB, free: 1.145 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.9027, allocations: 162.4 kB / 0.9668 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9028, allocations: 334 kB / 0.9671 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/0.9037, allocations: 332.5 kB / 0.9674 GB, free: 324 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.9049, allocations: 0.697 MB / 0.9681 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.9068, allocations: 0.962 MB / 0.969 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.9068, allocations: 4 kB / 0.969 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002582/0.9094, allocations: 1.078 MB / 0.9701 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9094, allocations: 12.17 kB / 0.9701 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.9094, allocations: 16 kB / 0.9701 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.9095, allocations: 16 kB / 0.9701 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.9103, allocations: 203.7 kB / 0.9703 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/0.9104, allocations: 27.86 kB / 0.9703 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.9118, allocations: 198.6 kB / 0.9705 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.9119, allocations: 47.98 kB / 0.9706 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001259/0.9131, allocations: 0.5721 MB / 0.9711 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/0.9143, allocations: 0.7009 MB / 0.9718 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00189/0.9162, allocations: 0.9529 MB / 0.9727 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-05/0.9162, allocations: 4 kB / 0.9728 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002608/0.9189, allocations: 1.073 MB / 0.9738 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9189, allocations: 8 kB / 0.9738 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.9189, allocations: 12 kB / 0.9738 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9189, allocations: 16.78 kB / 0.9738 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.9198, allocations: 211.7 kB / 0.974 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.9198, allocations: 31.91 kB / 0.9741 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.9213, allocations: 135.5 kB / 0.9742 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.9214, allocations: 44 kB / 0.9742 GB, free: 8.625 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.9217, allocations: 240.5 kB / 0.9745 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.922, allocations: 150.2 kB / 0.9746 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.9238, allocations: 0.6493 MB / 0.9752 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9238, allocations: 4 kB / 0.9752 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9239, allocations: 4 kB / 0.9753 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.9239, allocations: 3.984 kB / 0.9753 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.928, allocations: 1.923 MB / 0.9771 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.928, allocations: 7.938 kB / 0.9771 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.9285, allocations: 100 kB / 0.9772 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.9286, allocations: 4 kB / 0.9772 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.9286, allocations: 12 kB / 0.9773 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.9286, allocations: 11.98 kB / 0.9773 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.9286, allocations: 11.88 kB / 0.9773 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.9304, allocations: 0.8232 MB / 0.9781 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.931, allocations: 295.1 kB / 0.9784 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.9312, allocations: 12 kB / 0.9784 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.9323, allocations: 79.92 kB / 0.9784 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/0.9325, allocations: 35.92 kB / 0.9785 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.9325, allocations: 19.98 kB / 0.9785 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001563/0.9341, allocations: 1.017 MB / 0.9795 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9341, allocations: 0 / 0.9795 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001835/0.9359, allocations: 0.5657 MB / 0.98 GB, free: 2.461 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00252/0.9385, allocations: 1.529 MB / 0.9815 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.9416, allocations: 1.173 MB / 0.9827 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.9416, allocations: 0.9375 kB / 0.9827 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007036/0.9423, allocations: 264 kB / 0.9829 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/0.9458, allocations: 0.7472 MB / 0.9837 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.9636, allocations: 10.7 MB / 0.9941 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/0.9645, allocations: 1.19 MB / 0.9953 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001662/0.9661, allocations: 383.8 kB / 0.9956 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/0.9668, allocations: 0.4954 MB / 0.9961 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of SimCode: time 7.92e-07/0.9668, allocations: 0 / 0.9961 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06921/1.036, allocations: 35.42 MB / 1.031 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/9.01, allocations: 7.953 kB / 1.031 GB, free: 14.19 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)