Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_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.005204/0.005204, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001234/0.001233, allocations: 197 kB / 16.67 MB, free: 5.926 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 272.5 kB / 290.8 MB, free: 1.746 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9374/0.9374, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 95.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 86.98 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002559/0.1656, allocations: 1.432 MB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.1661, allocations: 160.3 kB / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.1661, allocations: 0 / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.1662, allocations: 0 / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.1662, allocations: 3.938 kB / 0.7675 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1666, allocations: 39.91 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.1666, allocations: 23.92 kB / 0.7675 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.1667, allocations: 8 kB / 0.7675 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.1668, allocations: 11.92 kB / 0.7675 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.1668, allocations: 7.984 kB / 0.7676 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1668, allocations: 4 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.167, allocations: 35.91 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.167, allocations: 11.92 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.167, allocations: 8 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1672, allocations: 48.16 kB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1672, allocations: 0 / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1672, allocations: 0 / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1672, allocations: 0 / 0.7677 GB, free: 7.102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004442/0.1677, allocations: 351.4 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1677, allocations: 8.031 kB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.1678, allocations: 34.69 kB / 0.768 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.1678, allocations: 4.938 kB / 0.768 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1679, allocations: 164.3 kB / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.168, allocations: 384 / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-06/0.168, allocations: 384 / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1682, allocations: 54.23 kB / 0.7682 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1682, allocations: 3.938 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1682, allocations: 4 kB / 0.7683 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1682, allocations: 3.938 kB / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1684, allocations: 31.95 kB / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.1687, allocations: 252.9 kB / 0.7685 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1688, allocations: 42.48 kB / 0.7686 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.1689, allocations: 24.91 kB / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.1691, allocations: 85.09 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1691, allocations: 30.56 kB / 0.7687 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1691, allocations: 0 / 0.7687 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003477/0.1695, allocations: 89.58 kB / 0.7688 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.1696, allocations: 51.41 kB / 0.7688 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.1697, allocations: 97.86 kB / 0.7689 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1697, allocations: 25.7 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1698, allocations: 88.08 kB / 0.769 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1698, allocations: 15.83 kB / 0.7691 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.1699, allocations: 9.719 kB / 0.7691 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.1701, allocations: 319 kB / 0.7694 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.1701, allocations: 15.98 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.1702, allocations: 15.97 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1704, allocations: 36.83 kB / 0.7694 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1704, allocations: 3.938 kB / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.1706, allocations: 77.66 kB / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1706, allocations: 4 kB / 0.7695 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1706, allocations: 0 / 0.7695 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1706, allocations: 0 / 0.7695 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.1707, allocations: 11.98 kB / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1707, allocations: 0 / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1708, allocations: 4 kB / 0.7695 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1708, allocations: 4.031 kB / 0.7695 GB, free: 4.922 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 (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.633e-05/0.1708, allocations: 110.4 kB / 0.7696 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.1709, allocations: 12.08 kB / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.1711, allocations: 76.7 kB / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1711, allocations: 0 / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1711, allocations: 0 / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1711, allocations: 4 kB / 0.7697 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1713, allocations: 161.6 kB / 0.7699 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1713, allocations: 0 / 0.7699 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.1714, allocations: 11.92 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1714, allocations: 0 / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1714, allocations: 4 kB / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1714, allocations: 0 / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1714, allocations: 0 / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1716, allocations: 171.5 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.1717, allocations: 77.11 kB / 0.7701 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1717, allocations: 0 / 0.7701 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.1718, allocations: 7.984 kB / 0.7701 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1718, allocations: 3.938 kB / 0.7701 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1718, allocations: 8 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.1719, allocations: 79.27 kB / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1719, allocations: 0 / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002323/0.1721, allocations: 24.03 kB / 0.7703 GB, free: 4.09 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 (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.0007082/0.1728, allocations: 0.7085 MB / 0.7709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.173, allocations: 31.97 kB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.173, allocations: 7.875 kB / 0.771 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.1731, allocations: 15.98 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.1734, allocations: 11.98 kB / 0.771 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.1738, allocations: 142 kB / 0.7711 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.174, allocations: 0.6768 MB / 0.7718 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.174, allocations: 0 / 0.7718 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.1741, allocations: 11.44 kB / 0.7718 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1741, allocations: 0 / 0.7718 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.1919, allocations: 1.532 MB / 0.7733 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.174, allocations: 14.19 kB / 0.7733 GB, free: 0.9609 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)