Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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.008209/0.00821, allocations: 98.52 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002672/0.002672, allocations: 290.3 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9776/0.9776, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 91.86 kB / 0.6809 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3937, allocations: 86.99 MB / 0.7659 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001638/0.3954, allocations: 0.5228 MB / 0.7664 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.3955, allocations: 11.92 kB / 0.7664 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.3955, allocations: 0 / 0.7664 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.3956, allocations: 0 / 0.7664 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3957, allocations: 3.938 kB / 0.7664 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.3957, allocations: 4 kB / 0.7664 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.3958, allocations: 11.97 kB / 0.7664 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.3958, allocations: 4 kB / 0.7664 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.3959, allocations: 3.938 kB / 0.7664 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.395e-05/0.3959, allocations: 0 / 0.7664 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3959, allocations: 4 kB / 0.7664 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.3959, allocations: 0 / 0.7664 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.396, allocations: 4 kB / 0.7665 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.396, allocations: 4 kB / 0.7665 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.536e-05/0.396, allocations: 7.922 kB / 0.7665 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.396, allocations: 0 / 0.7665 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.396, allocations: 0 / 0.7665 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.396, allocations: 0 / 0.7665 GB, free: 3.434 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003222/0.3964, allocations: 327.3 kB / 0.7668 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3964, allocations: 15.97 kB / 0.7668 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.47e-05/0.3965, allocations: 34.75 kB / 0.7668 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.915e-05/0.3965, allocations: 0.9375 kB / 0.7668 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3966, allocations: 164.4 kB / 0.767 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.3966, allocations: 384 / 0.767 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.3966, allocations: 4.375 kB / 0.767 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.3967, allocations: 39.98 kB / 0.767 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3967, allocations: 3.938 kB / 0.767 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3968, allocations: 4 kB / 0.767 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3968, allocations: 4 kB / 0.767 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.3968, allocations: 7.938 kB / 0.767 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.397, allocations: 154.5 kB / 0.7672 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.397, allocations: 37.16 kB / 0.7672 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.3971, allocations: 13.84 kB / 0.7672 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3971, allocations: 4 kB / 0.7672 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3971, allocations: 34.56 kB / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3971, allocations: 0 / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.3973, allocations: 49.56 kB / 0.7673 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.3973, allocations: 77.11 kB / 0.7674 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.3974, allocations: 94.11 kB / 0.7675 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3974, allocations: 29.83 kB / 0.7675 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.3975, allocations: 80.14 kB / 0.7676 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3975, allocations: 11.94 kB / 0.7676 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.3975, allocations: 9.719 kB / 0.7676 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3977, allocations: 314.8 kB / 0.7679 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.3977, allocations: 8 kB / 0.7679 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.3977, allocations: 9.719 kB / 0.7679 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.3977, allocations: 25.72 kB / 0.768 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3977, allocations: 0 / 0.768 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.85e-05/0.3978, allocations: 45.62 kB / 0.768 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3978, allocations: 9.969 kB / 0.768 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3979, allocations: 4 kB / 0.768 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3979, allocations: 0 / 0.768 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.3979, allocations: 4 kB / 0.768 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.398, allocations: 4.062 kB / 0.768 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.398, allocations: 0 / 0.768 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.398, allocations: 0 / 0.768 GB, free: 1.574 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.937e-05/0.3981, allocations: 113.8 kB / 0.7681 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.3981, allocations: 3.938 kB / 0.7681 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.3982, allocations: 50.44 kB / 0.7682 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3982, allocations: 0 / 0.7682 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3982, allocations: 12 kB / 0.7682 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3982, allocations: 0 / 0.7682 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3983, allocations: 145.7 kB / 0.7683 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.3984, allocations: 7.984 kB / 0.7683 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.3984, allocations: 4 kB / 0.7683 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3984, allocations: 3.938 kB / 0.7683 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.3984, allocations: 4 kB / 0.7683 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3984, allocations: 0 / 0.7683 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3984, allocations: 0 / 0.7683 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.3985, allocations: 77.88 kB / 0.7684 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.3986, allocations: 85.09 kB / 0.7685 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3986, allocations: 3.938 kB / 0.7685 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.3986, allocations: 0 / 0.7685 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.3986, allocations: 0 / 0.7685 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3987, allocations: 4 kB / 0.7685 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.3987, allocations: 79.28 kB / 0.7686 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3987, allocations: 4.125 kB / 0.7686 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002451/0.3989, allocations: 4 kB / 0.7686 GB, free: 0.8828 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004081/0.3994, allocations: 0.6054 MB / 0.7692 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.3994, allocations: 15.97 kB / 0.7692 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3994, allocations: 0 / 0.7692 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.3995, allocations: 7.938 kB / 0.7692 GB, free: 224 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.3996, allocations: 4 kB / 0.7692 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.4, allocations: 111.6 kB / 0.7693 GB, free: 64 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.4003, allocations: 0.6729 MB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.4003, allocations: 4.25 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.4003, allocations: 7.438 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.4003, allocations: 0 / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5136/0.914, allocations: 0.9311 MB / 0.7709 GB, free: 14.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.68, allocations: 14.23 kB / 0.7709 GB, free: 14.5 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)