Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_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.001072/0.001072, allocations: 108 kB / 15.61 MB, free: 148 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.001125/0.001125, allocations: 194 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8955/0.8955, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 68.11 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1267, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001568/0.1283, allocations: 0.4997 MB / 0.585 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001154/0.1284, allocations: 15.92 kB / 0.585 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.1285, allocations: 0 / 0.585 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.778e-06/0.1285, allocations: 0 / 0.585 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1286, allocations: 3.938 kB / 0.585 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.1286, allocations: 0 / 0.585 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.1287, allocations: 7.984 kB / 0.585 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.1287, allocations: 0 / 0.585 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.1287, allocations: 3.938 kB / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.1288, allocations: 11.92 kB / 0.585 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1288, allocations: 4 kB / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-06/0.1288, allocations: 0 / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.1288, allocations: 0 / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.223e-05/0.1288, allocations: 0 / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.702e-05/0.1289, allocations: 7.984 kB / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1289, allocations: 0 / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1289, allocations: 0 / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1289, allocations: 0 / 0.585 GB, free: 3.887 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002291/0.1291, allocations: 307.6 kB / 0.5853 GB, free: 3.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1292, allocations: 16.02 kB / 0.5853 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.491e-05/0.1292, allocations: 34.75 kB / 0.5854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.1292, allocations: 0.9375 kB / 0.5854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.395e-05/0.1293, allocations: 164.3 kB / 0.5855 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1293, allocations: 384 / 0.5855 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.1293, allocations: 384 / 0.5855 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/0.1294, allocations: 51.3 kB / 0.5856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1294, allocations: 3.984 kB / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.1295, allocations: 4 kB / 0.5856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1295, allocations: 0 / 0.5856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.1295, allocations: 4 kB / 0.5856 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.1296, allocations: 154.5 kB / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.622e-05/0.1297, allocations: 41.22 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.1297, allocations: 17.7 kB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1297, allocations: 8 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1298, allocations: 34.56 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1298, allocations: 0 / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001262/0.1299, allocations: 41.64 kB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1299, allocations: 85.09 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.239e-05/0.13, allocations: 89.86 kB / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.13, allocations: 25.7 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.13, allocations: 84.39 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1301, allocations: 8.125 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1301, allocations: 13.72 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.1302, allocations: 314.8 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.1302, allocations: 0 / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.1302, allocations: 13.72 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.1303, allocations: 29.7 kB / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1303, allocations: 0 / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.068e-05/0.1303, allocations: 41.58 kB / 0.5865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1304, allocations: 10.5 kB / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1304, allocations: 0 / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1304, allocations: 0 / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.1304, allocations: 7.984 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1305, allocations: 0 / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.1305, allocations: 3.938 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-06/0.1305, allocations: 8.062 kB / 0.5866 GB, free: 2.035 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.043e-05/0.1306, allocations: 109.8 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1306, allocations: 7.844 kB / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.1307, allocations: 52.69 kB / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1307, allocations: 7.984 kB / 0.5867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1307, allocations: 0 / 0.5867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1307, allocations: 0 / 0.5867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/0.1308, allocations: 153.7 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1308, allocations: 4 kB / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.1308, allocations: 11.88 kB / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1308, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1309, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1309, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1309, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.27e-05/0.1309, allocations: 73.98 kB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.131, allocations: 81.05 kB / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.131, allocations: 0 / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.131, allocations: 0 / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.131, allocations: 8 kB / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.131, allocations: 0 / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.1311, allocations: 75.28 kB / 0.5871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1311, allocations: 3.938 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.1313, allocations: 0 / 0.5871 GB, free: 1.352 MB / 494.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 (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.0003002/0.1316, allocations: 0.6016 MB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.992e-05/0.1316, allocations: 19.92 kB / 0.5877 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1317, allocations: 160 / 0.5877 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.1317, allocations: 8 kB / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1318, allocations: 0 / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.1321, allocations: 123.4 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1323, allocations: 0.669 MB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.1323, allocations: 7.938 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.1323, allocations: 7.438 kB / 0.5885 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1324, allocations: 8.062 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.618/0.7504, allocations: 0.8908 MB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.517/10.27, allocations: 18.95 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)