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: translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004962/0.004962, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001122/0.001122, allocations: 201 kB / 16.68 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 278.3 kB / 290.8 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 95.86 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1642, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002798/0.167, allocations: 1.423 MB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004216/0.1675, allocations: 164.3 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.1675, allocations: 0 / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1676, allocations: 3.938 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.1676, allocations: 3.938 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1679, allocations: 35.89 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.076e-05/0.168, allocations: 23.92 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.1681, allocations: 4 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.1682, allocations: 11.92 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.1682, allocations: 8 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1682, allocations: 4 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1684, allocations: 43.95 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1684, allocations: 7.984 kB / 0.7681 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.1684, allocations: 7.938 kB / 0.7681 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1685, allocations: 51.75 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1685, allocations: 0 / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1686, allocations: 0 / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1686, allocations: 3.938 kB / 0.7681 GB, free: 6.645 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.0004114/0.169, allocations: 347.4 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.169, allocations: 12.03 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1691, allocations: 0.9375 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1692, allocations: 172.3 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1692, allocations: 384 / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1692, allocations: 384 / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1694, allocations: 50.23 kB / 0.7687 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1694, allocations: 4.188 kB / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1694, allocations: 3.938 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1694, allocations: 0 / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1696, allocations: 43.89 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.1699, allocations: 248.9 kB / 0.769 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.17, allocations: 38.5 kB / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.1701, allocations: 28.89 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.1703, allocations: 85.09 kB / 0.7691 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1703, allocations: 38.5 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1703, allocations: 0 / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.00034/0.1707, allocations: 81.64 kB / 0.7692 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1707, allocations: 51.41 kB / 0.7693 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.1708, allocations: 97.98 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1708, allocations: 25.7 kB / 0.7694 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1708, allocations: 84.14 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.1709, allocations: 11.94 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1709, allocations: 9.719 kB / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.171, allocations: 314.8 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.1711, allocations: 15.98 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.1711, allocations: 19.98 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1713, allocations: 44.75 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1713, allocations: 0 / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.1715, allocations: 65.59 kB / 0.77 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1715, allocations: 8.094 kB / 0.77 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1715, allocations: 4 kB / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1715, allocations: 0 / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.1716, allocations: 8 kB / 0.77 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1716, allocations: 3.984 kB / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.1717, allocations: 4 kB / 0.77 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.1717, allocations: 0 / 0.77 GB, free: 4.516 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.72e-05/0.1718, allocations: 114.4 kB / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.1718, allocations: 7.953 kB / 0.7701 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.172, allocations: 76.7 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.172, allocations: 0 / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.172, allocations: 4.125 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.172, allocations: 0 / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1722, allocations: 161.6 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1722, allocations: 0 / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.1723, allocations: 11.98 kB / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1723, allocations: 0 / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1723, allocations: 7.969 kB / 0.7703 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1723, allocations: 0 / 0.7703 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1723, allocations: 0 / 0.7703 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1725, allocations: 171.4 kB / 0.7705 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.1726, allocations: 81.11 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1726, allocations: 0 / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.1727, allocations: 16.02 kB / 0.7706 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1727, allocations: 4 kB / 0.7706 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1727, allocations: 0 / 0.7706 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.1728, allocations: 83.27 kB / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1728, allocations: 0 / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002312/0.173, allocations: 15.94 kB / 0.7707 GB, free: 3.68 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.0001749/0.1732, allocations: 111.2 kB / 0.7708 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1734, allocations: 31.97 kB / 0.7708 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1734, allocations: 0 / 0.7708 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.1735, allocations: 23.92 kB / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1738, allocations: 14.09 kB / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.174, allocations: 101.7 kB / 0.771 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1743, allocations: 0.6806 MB / 0.7716 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.1743, allocations: 4 kB / 0.7716 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.1744, allocations: 7.438 kB / 0.7716 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1744, allocations: 0 / 0.7716 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of Templates: time 0.002875/0.1772, allocations: 0.6566 MB / 0.7723 GB, free: 1.992 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)