Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/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.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.007074/0.007075, allocations: 99 kB / 15.73 MB, free: 6.008 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.001794/0.001794, allocations: 196.4 kB / 16.67 MB, free: 5.934 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002575, allocations: 298 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003125/0.003125, allocations: 105.7 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1691, allocations: 86.97 MB / 0.7659 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001717/0.1708, allocations: 0.5855 MB / 0.7665 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.1712, allocations: 103.6 kB / 0.7666 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.11e-05/0.1712, allocations: 4 kB / 0.7666 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1713, allocations: 0 / 0.7666 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.1713, allocations: 0 / 0.7666 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1716, allocations: 31.89 kB / 0.7667 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.535e-05/0.1716, allocations: 4 kB / 0.7667 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.1717, allocations: 0 / 0.7667 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.1717, allocations: 0 / 0.7667 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.405e-05/0.1717, allocations: 0 / 0.7667 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.1717, allocations: 0 / 0.7667 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1719, allocations: 39.91 kB / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.1719, allocations: 7.984 kB / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.1719, allocations: 4 kB / 0.7667 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.172, allocations: 28.19 kB / 0.7667 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.172, allocations: 0 / 0.7667 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.172, allocations: 0 / 0.7667 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.172, allocations: 0 / 0.7667 GB, free: 8.062 MB / 0.5606 GB 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.0003087/0.1724, allocations: 327.4 kB / 0.767 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1724, allocations: 8.031 kB / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1724, allocations: 34.69 kB / 0.7671 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.1725, allocations: 4.938 kB / 0.7671 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1726, allocations: 160.4 kB / 0.7672 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1726, allocations: 4.375 kB / 0.7672 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-06/0.1726, allocations: 384 / 0.7672 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.264e-05/0.1727, allocations: 30.25 kB / 0.7673 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1727, allocations: 7.938 kB / 0.7673 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.1727, allocations: 0 / 0.7673 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1728, allocations: 0 / 0.7673 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.1728, allocations: 0 / 0.7673 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.1729, allocations: 145.7 kB / 0.7674 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.173, allocations: 26.55 kB / 0.7675 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.173, allocations: 4.859 kB / 0.7675 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.1732, allocations: 85.16 kB / 0.7675 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1733, allocations: 34.56 kB / 0.7676 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1733, allocations: 0 / 0.7676 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000139/0.1734, allocations: 41.62 kB / 0.7676 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1735, allocations: 55.47 kB / 0.7677 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.1735, allocations: 93.86 kB / 0.7678 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1736, allocations: 25.7 kB / 0.7678 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.1736, allocations: 80.14 kB / 0.7679 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.1736, allocations: 7.938 kB / 0.7679 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.1737, allocations: 17.72 kB / 0.7679 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1738, allocations: 310.8 kB / 0.7682 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.1738, allocations: 0 / 0.7682 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.1738, allocations: 0 / 0.7682 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.1738, allocations: 16.91 kB / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1739, allocations: 0 / 0.7682 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.515e-05/0.1739, allocations: 29.7 kB / 0.7682 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1739, allocations: 8 kB / 0.7682 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.174, allocations: 7.875 kB / 0.7682 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.174, allocations: 0 / 0.7682 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.207e-05/0.174, allocations: 0 / 0.7682 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.174, allocations: 0 / 0.7682 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.174, allocations: 3.938 kB / 0.7682 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.174, allocations: 8.031 kB / 0.7682 GB, free: 6.262 MB / 0.5606 GB 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 (1): * Single equations (assignments): 1 * 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.689e-05/0.1741, allocations: 114.5 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.1742, allocations: 4 kB / 0.7684 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.1742, allocations: 36.77 kB / 0.7684 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1742, allocations: 0 / 0.7684 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1742, allocations: 3.938 kB / 0.7684 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1743, allocations: 0 / 0.7684 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.1744, allocations: 149.7 kB / 0.7685 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1744, allocations: 4.031 kB / 0.7685 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.1744, allocations: 4 kB / 0.7685 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1744, allocations: 0 / 0.7685 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1744, allocations: 11.88 kB / 0.7686 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1744, allocations: 0 / 0.7686 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1744, allocations: 0 / 0.7686 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.821e-05/0.1745, allocations: 53.12 kB / 0.7686 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.1746, allocations: 77.11 kB / 0.7687 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1746, allocations: 11.97 kB / 0.7687 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.1746, allocations: 0 / 0.7687 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-06/0.1746, allocations: 0 / 0.7687 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.1746, allocations: 0 / 0.7687 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.1746, allocations: 79.28 kB / 0.7688 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1747, allocations: 0 / 0.7688 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002783/0.1749, allocations: 11.94 kB / 0.7688 GB, free: 5.613 MB / 0.5606 GB 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 (1): * Single equations (assignments): 1 * 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.0004614/0.1754, allocations: 0.6163 MB / 0.7694 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.962e-05/0.1755, allocations: 4 kB / 0.7694 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1755, allocations: 0 / 0.7694 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.1755, allocations: 4 kB / 0.7694 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.1757, allocations: 4.156 kB / 0.7694 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.176, allocations: 118.5 kB / 0.7695 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1763, allocations: 0.669 MB / 0.7702 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.13e-05/0.1763, allocations: 0 / 0.7702 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.1763, allocations: 11.38 kB / 0.7702 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.1763, allocations: 4 kB / 0.7702 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.1975, allocations: 1.159 MB / 0.7713 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/7.936, allocations: 17.31 kB / 0.7713 GB, free: 3.051 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)