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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007928/0.007928, allocations: 103.2 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.001859/0.00186, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 285.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 95.86 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4224, allocations: 86.97 MB / 0.7664 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00141/0.4238, allocations: 0.5898 MB / 0.767 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.4242, allocations: 95.64 kB / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.04e-05/0.4242, allocations: 0 / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.4242, allocations: 0 / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.74e-06/0.4242, allocations: 0 / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.4245, allocations: 31.91 kB / 0.7671 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.678e-05/0.4246, allocations: 7.984 kB / 0.7671 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.4246, allocations: 4 kB / 0.7671 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.399e-05/0.4246, allocations: 3.938 kB / 0.7671 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.426e-05/0.4246, allocations: 0 / 0.7671 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.4247, allocations: 0 / 0.7671 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.4248, allocations: 39.91 kB / 0.7672 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.4248, allocations: 0 / 0.7672 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.4248, allocations: 3.984 kB / 0.7672 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.564e-05/0.4249, allocations: 27.97 kB / 0.7672 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4249, allocations: 0 / 0.7672 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.425, allocations: 0 / 0.7672 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.425, allocations: 0 / 0.7672 GB, free: 3.156 MB / 0.5294 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.0002843/0.4253, allocations: 323.6 kB / 0.7675 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.4253, allocations: 8.031 kB / 0.7675 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4253, allocations: 4.938 kB / 0.7675 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.4254, allocations: 160.4 kB / 0.7677 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.4254, allocations: 384 / 0.7677 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.4254, allocations: 4.359 kB / 0.7677 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.4255, allocations: 30.2 kB / 0.7677 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.4255, allocations: 192 / 0.7677 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4256, allocations: 7.938 kB / 0.7677 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4256, allocations: 4 kB / 0.7677 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.4256, allocations: 3.938 kB / 0.7677 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.4257, allocations: 153.6 kB / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.4258, allocations: 18.61 kB / 0.7679 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.4258, allocations: 4.859 kB / 0.7679 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.426, allocations: 85.16 kB / 0.768 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.426, allocations: 46.48 kB / 0.768 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.426, allocations: 0 / 0.768 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.4261, allocations: 37.64 kB / 0.7681 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4262, allocations: 55.41 kB / 0.7681 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.2e-05/0.4262, allocations: 89.86 kB / 0.7682 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.4262, allocations: 25.7 kB / 0.7682 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.4263, allocations: 80.14 kB / 0.7683 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.4263, allocations: 3.906 kB / 0.7683 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.4263, allocations: 9.844 kB / 0.7683 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.4264, allocations: 318.8 kB / 0.7686 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.4265, allocations: 0 / 0.7686 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.4265, allocations: 7.922 kB / 0.7686 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.22e-05/0.4265, allocations: 12.86 kB / 0.7686 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4265, allocations: 0 / 0.7686 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.792e-05/0.4266, allocations: 29.7 kB / 0.7687 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4266, allocations: 4 kB / 0.7687 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4266, allocations: 8.094 kB / 0.7687 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4266, allocations: 3.938 kB / 0.7687 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.104e-05/0.4266, allocations: 0 / 0.7687 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4267, allocations: 0 / 0.7687 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-06/0.4267, allocations: 0 / 0.7687 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.4267, allocations: 0 / 0.7687 GB, free: 1.402 MB / 0.5294 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 6.872e-05/0.4267, allocations: 123.9 kB / 0.7688 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.4268, allocations: 0 / 0.7688 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.4268, allocations: 44.7 kB / 0.7688 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.4269, allocations: 4.031 kB / 0.7688 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4269, allocations: 0 / 0.7688 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.4269, allocations: 0 / 0.7688 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.171e-05/0.427, allocations: 149.7 kB / 0.769 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.427, allocations: 0 / 0.769 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.427, allocations: 0 / 0.769 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.427, allocations: 0 / 0.769 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.427, allocations: 7.875 kB / 0.769 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.427, allocations: 4 kB / 0.769 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.427, allocations: 0 / 0.769 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.853e-05/0.4271, allocations: 65.06 kB / 0.7691 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.4271, allocations: 77.11 kB / 0.7691 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.4271, allocations: 7.875 kB / 0.7691 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.4272, allocations: 4 kB / 0.7691 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.4272, allocations: 0 / 0.7691 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-06/0.4272, allocations: 0 / 0.7691 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.4272, allocations: 75.28 kB / 0.7692 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4272, allocations: 32 / 0.7692 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001899/0.4274, allocations: 12 kB / 0.7692 GB, free: 0.7461 MB / 0.5294 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.0001649/0.4276, allocations: 115.2 kB / 0.7693 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.83e-05/0.4276, allocations: 8 kB / 0.7693 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4276, allocations: 0 / 0.7693 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-06/0.4277, allocations: 7.938 kB / 0.7693 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.4278, allocations: 8.109 kB / 0.7694 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001518/0.4279, allocations: 77.08 kB / 0.7694 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.4282, allocations: 0.669 MB / 0.7701 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.057e-06/0.4282, allocations: 0 / 0.7701 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.083e-05/0.4282, allocations: 7.438 kB / 0.7701 GB, free: 15.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4282, allocations: 0 / 0.7701 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Templates: time 0.002161/0.4304, allocations: 409.1 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)