Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",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.001447/0.001447, allocations: 108 kB / 15.6 MB, free: 132 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.001654/0.001654, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9199/0.9199, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.78 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1416, allocations: 80.92 MB / 0.5845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001775/0.1434, allocations: 0.5169 MB / 0.585 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001763/0.1436, allocations: 43.8 kB / 0.585 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.1437, allocations: 4 kB / 0.585 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.1437, allocations: 0 / 0.585 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1439, allocations: 0 / 0.585 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.64e-05/0.1439, allocations: 15.92 kB / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.144, allocations: 12 kB / 0.585 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.1441, allocations: 4 kB / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.1441, allocations: 7.938 kB / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.1442, allocations: 11.97 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1442, allocations: 3.938 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.1442, allocations: 0 / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.1443, allocations: 0 / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.1443, allocations: 11.94 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.591e-05/0.1444, allocations: 7.984 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1444, allocations: 3.938 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1444, allocations: 4 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1444, allocations: 0 / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004511/0.1448, allocations: 323.5 kB / 0.5854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1449, allocations: 8.031 kB / 0.5854 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1449, allocations: 34.73 kB / 0.5854 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.145, allocations: 4.938 kB / 0.5854 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1451, allocations: 184.4 kB / 0.5856 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1452, allocations: 384 / 0.5856 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1452, allocations: 384 / 0.5856 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.1453, allocations: 41.62 kB / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1453, allocations: 0 / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1453, allocations: 0 / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1453, allocations: 0 / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.1453, allocations: 4 kB / 0.5857 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.1455, allocations: 153.7 kB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.1455, allocations: 22.5 kB / 0.5858 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.1456, allocations: 16.91 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1456, allocations: 7.938 kB / 0.5859 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1456, allocations: 30.56 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1456, allocations: 0 / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.1458, allocations: 41.69 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.1458, allocations: 51.41 kB / 0.586 GB, free: 2.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.1459, allocations: 117.8 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1459, allocations: 25.7 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.146, allocations: 92.25 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.146, allocations: 3.906 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.146, allocations: 13.72 kB / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.1461, allocations: 314.8 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.1461, allocations: 7.984 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.1462, allocations: 13.72 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.1462, allocations: 25.77 kB / 0.5866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1462, allocations: 0 / 0.5866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.746e-05/0.1463, allocations: 53.56 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1463, allocations: 4 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1463, allocations: 3.938 kB / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1463, allocations: 0 / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.1464, allocations: 7.938 kB / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1464, allocations: 0 / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.1465, allocations: 4 kB / 0.5866 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1465, allocations: 4.062 kB / 0.5866 GB, free: 2.02 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.1465, allocations: 109.8 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.1466, allocations: 7.922 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/0.1467, allocations: 52.75 kB / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1467, allocations: 0 / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1467, allocations: 0 / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1467, allocations: 0 / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1468, allocations: 153.7 kB / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1468, allocations: 7.969 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1469, allocations: 4 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1469, allocations: 0 / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1469, allocations: 3.984 kB / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1469, allocations: 0 / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1469, allocations: 4 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.147, allocations: 80.97 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.1471, allocations: 81.05 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1471, allocations: 8.078 kB / 0.5871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.1471, allocations: 4.031 kB / 0.5871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.1472, allocations: 0 / 0.5871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1472, allocations: 0 / 0.5871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.1472, allocations: 95.52 kB / 0.5872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1472, allocations: 0 / 0.5872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001905/0.1474, allocations: 4 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.000352/0.1478, allocations: 0.6163 MB / 0.5878 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.704e-05/0.1479, allocations: 8 kB / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1479, allocations: 0 / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.1479, allocations: 7.984 kB / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.148, allocations: 4 kB / 0.5878 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008953/0.1489, allocations: 1.151 MB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.1491, allocations: 0.6768 MB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.1492, allocations: 7.938 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.1492, allocations: 15.38 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1492, allocations: 0 / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1682, allocations: 1.159 MB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.568, allocations: 9.109 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)