Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",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.005242/0.005242, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001221/0.001221, allocations: 199 kB / 16.79 MB, free: 6.246 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.254/1.254, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6788/0.6788, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1257, allocations: 76.18 MB / 0.5558 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002136/0.1278, allocations: 1.485 MB / 0.5573 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000357/0.1282, allocations: 160.3 kB / 0.5575 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.1282, allocations: 0 / 0.5575 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.1283, allocations: 4 kB / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.1283, allocations: 0 / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1285, allocations: 39.91 kB / 0.5575 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.1286, allocations: 19.92 kB / 0.5575 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.043e-05/0.1287, allocations: 8 kB / 0.5575 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.1287, allocations: 7.922 kB / 0.5575 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.545e-05/0.1287, allocations: 8 kB / 0.5575 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1287, allocations: 4 kB / 0.5575 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1289, allocations: 43.88 kB / 0.5576 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.1289, allocations: 4 kB / 0.5576 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.1289, allocations: 7.938 kB / 0.5576 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.129, allocations: 55.86 kB / 0.5576 GB, free: 8.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.129, allocations: 0 / 0.5576 GB, free: 8.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.129, allocations: 0 / 0.5576 GB, free: 8.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.129, allocations: 3.938 kB / 0.5576 GB, free: 8.855 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003704/0.1294, allocations: 343.7 kB / 0.558 GB, free: 8.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1295, allocations: 8.031 kB / 0.558 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.1295, allocations: 34.69 kB / 0.558 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1295, allocations: 4.938 kB / 0.558 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.1296, allocations: 160.4 kB / 0.5582 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1296, allocations: 12.36 kB / 0.5582 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1297, allocations: 8.375 kB / 0.5582 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1298, allocations: 42.25 kB / 0.5582 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1298, allocations: 3.938 kB / 0.5582 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1298, allocations: 4 kB / 0.5582 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.1298, allocations: 0 / 0.5582 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.13, allocations: 31.95 kB / 0.5583 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.1302, allocations: 248.9 kB / 0.5585 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1304, allocations: 46.53 kB / 0.5586 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.1305, allocations: 16.91 kB / 0.5586 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.1306, allocations: 93.03 kB / 0.5587 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1307, allocations: 34.56 kB / 0.5587 GB, free: 7.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.1307, allocations: 0 / 0.5587 GB, free: 7.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003238/0.131, allocations: 85.48 kB / 0.5588 GB, free: 7.504 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.131, allocations: 51.41 kB / 0.5588 GB, free: 7.441 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.1311, allocations: 105.8 kB / 0.5589 GB, free: 7.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1311, allocations: 29.83 kB / 0.559 GB, free: 7.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.1312, allocations: 88.14 kB / 0.559 GB, free: 7.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.1312, allocations: 3.906 kB / 0.559 GB, free: 7.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.1312, allocations: 13.72 kB / 0.5591 GB, free: 7.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.1313, allocations: 310.8 kB / 0.5594 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.1314, allocations: 19.97 kB / 0.5594 GB, free: 6.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.1315, allocations: 15.98 kB / 0.5594 GB, free: 6.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1316, allocations: 40.89 kB / 0.5594 GB, free: 6.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1316, allocations: 3.938 kB / 0.5594 GB, free: 6.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.1318, allocations: 69.59 kB / 0.5595 GB, free: 6.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1318, allocations: 4 kB / 0.5595 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1318, allocations: 0 / 0.5595 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1318, allocations: 4 kB / 0.5595 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.1319, allocations: 12.02 kB / 0.5595 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1319, allocations: 0 / 0.5595 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.132, allocations: 7.984 kB / 0.5595 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.132, allocations: 0 / 0.5595 GB, free: 6.684 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.504e-05/0.1321, allocations: 113.8 kB / 0.5596 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1321, allocations: 0 / 0.5596 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.1323, allocations: 76.72 kB / 0.5597 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1323, allocations: 7.938 kB / 0.5597 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1323, allocations: 0 / 0.5597 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1323, allocations: 0 / 0.5597 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1325, allocations: 165.5 kB / 0.5599 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1325, allocations: 0 / 0.5599 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.1325, allocations: 4 kB / 0.5599 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1325, allocations: 4 kB / 0.5599 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.1325, allocations: 0 / 0.5599 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1326, allocations: 3.984 kB / 0.5599 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1326, allocations: 4.031 kB / 0.5599 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1328, allocations: 171.3 kB / 0.56 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.1328, allocations: 77.11 kB / 0.5601 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1328, allocations: 4 kB / 0.5601 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.1329, allocations: 4 kB / 0.5601 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.133, allocations: 15.95 kB / 0.5601 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.133, allocations: 0 / 0.5601 GB, free: 5.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.133, allocations: 83.28 kB / 0.5602 GB, free: 5.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.133, allocations: 0 / 0.5602 GB, free: 5.867 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.1332, allocations: 12 kB / 0.5602 GB, free: 5.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0005646/0.1338, allocations: 0.7046 MB / 0.5609 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.134, allocations: 35.95 kB / 0.561 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.134, allocations: 3.938 kB / 0.561 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.1341, allocations: 24.08 kB / 0.561 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1343, allocations: 4 kB / 0.561 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.1347, allocations: 140.9 kB / 0.5611 GB, free: 4.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1349, allocations: 0.6808 MB / 0.5618 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.1349, allocations: 4 kB / 0.5618 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.135, allocations: 11.38 kB / 0.5618 GB, free: 4.156 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.135, allocations: 64 / 0.5618 GB, free: 4.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4997/0.6347, allocations: 1.314 MB / 0.5631 GB, free: 2.938 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.6351, allocations: 200.2 kB / 0.5633 GB, free: 2.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.094, allocations: 3.938 kB / 0.5633 GB, free: 2.68 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)