Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_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.001327/0.001327, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001529/0.001529, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.404/2.404, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.219/1.219, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005223, allocations: 8.562 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7923/0.7928, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001024/0.7939, allocations: 248.9 kB / 0.5832 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001505/0.7941, allocations: 16.39 kB / 0.5832 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.7941, allocations: 0 / 0.5832 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.7942, allocations: 0 / 0.5832 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.7943, allocations: 3.203 kB / 0.5832 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.7944, allocations: 0 / 0.5832 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.7944, allocations: 5.141 kB / 0.5832 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.054e-05/0.7945, allocations: 0.6562 kB / 0.5832 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.7945, allocations: 5.703 kB / 0.5832 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.7946, allocations: 0.9375 kB / 0.5832 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.7946, allocations: 0.7188 kB / 0.5832 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.7947, allocations: 4 kB / 0.5832 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.7947, allocations: 0.9375 kB / 0.5832 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.7947, allocations: 26.5 kB / 0.5833 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.626e-05/0.7948, allocations: 4.562 kB / 0.5833 GB, free: 3.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7948, allocations: 1.062 kB / 0.5833 GB, free: 3.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7948, allocations: 0 / 0.5833 GB, free: 3.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.7948, allocations: 0 / 0.5833 GB, free: 3.785 MB / 430.1 MB 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.0002847/0.7951, allocations: 311.8 kB / 0.5836 GB, free: 3.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.7952, allocations: 8.75 kB / 0.5836 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.7952, allocations: 35.84 kB / 0.5836 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.7953, allocations: 12.67 kB / 0.5836 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.7954, allocations: 165.5 kB / 0.5838 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.7954, allocations: 0 / 0.5838 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.7954, allocations: 1.469 kB / 0.5838 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.7956, allocations: 44.5 kB / 0.5838 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7956, allocations: 0 / 0.5838 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7956, allocations: 1.406 kB / 0.5838 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7956, allocations: 1.188 kB / 0.5838 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.7957, allocations: 6.297 kB / 0.5838 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.7959, allocations: 159.4 kB / 0.584 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.065e-05/0.7959, allocations: 41.52 kB / 0.584 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.796, allocations: 4.641 kB / 0.584 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.796, allocations: 36.22 kB / 0.5841 GB, free: 2.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.796, allocations: 0 / 0.5841 GB, free: 2.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002/0.7962, allocations: 49.69 kB / 0.5841 GB, free: 2.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.7963, allocations: 81.75 kB / 0.5842 GB, free: 2.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.692e-05/0.7963, allocations: 91.02 kB / 0.5843 GB, free: 2.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.7964, allocations: 26.27 kB / 0.5843 GB, free: 2.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/0.7964, allocations: 80.14 kB / 0.5844 GB, free: 2.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.7965, allocations: 4.266 kB / 0.5844 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.7965, allocations: 4.25 kB / 0.5844 GB, free: 2.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.7966, allocations: 320.6 kB / 0.5847 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.7966, allocations: 0.9688 kB / 0.5847 GB, free: 2.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.7966, allocations: 14.09 kB / 0.5847 GB, free: 2.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.7967, allocations: 2.062 kB / 0.5847 GB, free: 2.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7967, allocations: 0.75 kB / 0.5847 GB, free: 2.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.7968, allocations: 48.62 kB / 0.5847 GB, free: 2.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.7968, allocations: 7.344 kB / 0.5848 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7968, allocations: 1.578 kB / 0.5848 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.7969, allocations: 4.781 kB / 0.5848 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.797, allocations: 4.078 kB / 0.5848 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.797, allocations: 1.781 kB / 0.5848 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.7971, allocations: 3.906 kB / 0.5848 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.7971, allocations: 1.594 kB / 0.5848 GB, free: 2.082 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.7972, allocations: 112.5 kB / 0.5849 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.7972, allocations: 5.578 kB / 0.5849 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.7974, allocations: 48.08 kB / 0.5849 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7974, allocations: 0.8125 kB / 0.5849 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.7974, allocations: 1.766 kB / 0.5849 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.7974, allocations: 0.9375 kB / 0.5849 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.7975, allocations: 153.5 kB / 0.5851 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7976, allocations: 1.562 kB / 0.5851 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.7976, allocations: 7.641 kB / 0.5851 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.7976, allocations: 4.875 kB / 0.5851 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.7976, allocations: 5.062 kB / 0.5851 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.7977, allocations: 1.703 kB / 0.5851 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.7977, allocations: 4.812 kB / 0.5851 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.7978, allocations: 78.78 kB / 0.5852 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.7978, allocations: 78.94 kB / 0.5853 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.7979, allocations: 6.156 kB / 0.5853 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.7979, allocations: 1.25 kB / 0.5853 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.798, allocations: 1.234 kB / 0.5853 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.798, allocations: 2.031 kB / 0.5853 GB, free: 1.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.651e-05/0.798, allocations: 75.28 kB / 0.5853 GB, free: 1.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.798, allocations: 0 / 0.5853 GB, free: 1.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.7983, allocations: 1.5 kB / 0.5853 GB, free: 1.441 MB / 430.1 MB 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 (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.0003637/0.7987, allocations: 0.6859 MB / 0.586 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.407e-05/0.7988, allocations: 8 kB / 0.586 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7988, allocations: 0 / 0.586 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.7989, allocations: 16.55 kB / 0.586 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.799, allocations: 2.625 kB / 0.586 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.7994, allocations: 123.4 kB / 0.5862 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.7997, allocations: 0.6749 MB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.7997, allocations: 1.625 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.7998, allocations: 9.125 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.7998, allocations: 0 / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.8227, allocations: 0.714 MB / 0.5875 GB, free: 15.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.8231, allocations: 164 kB / 0.5877 GB, free: 15.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.445, allocations: 0 / 0.5877 GB, free: 15.51 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: