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.001605/0.001605, allocations: 109.4 kB / 16.41 MB, free: 6.484 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.001772/0.001772, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 286.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 96.14 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4141, allocations: 86.98 MB / 0.7671 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00155/0.4156, allocations: 0.5816 MB / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.416, allocations: 103.7 kB / 0.7678 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.173e-05/0.416, allocations: 4 kB / 0.7678 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.416, allocations: 3.938 kB / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.416, allocations: 0 / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.4163, allocations: 23.92 kB / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.274e-05/0.4164, allocations: 0 / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.4164, allocations: 4 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.4164, allocations: 3.938 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.378e-05/0.4164, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.4164, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.4166, allocations: 47.81 kB / 0.7678 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-06/0.4166, allocations: 4 kB / 0.7678 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.235e-05/0.4166, allocations: 0 / 0.7678 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.4167, allocations: 31.75 kB / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4167, allocations: 0 / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4167, allocations: 0 / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.4167, allocations: 4 kB / 0.7679 GB, free: 3.059 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.0003252/0.417, allocations: 315.1 kB / 0.7682 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.4171, allocations: 8.031 kB / 0.7682 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.4171, allocations: 0.9375 kB / 0.7682 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.4172, allocations: 164.4 kB / 0.7683 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.4172, allocations: 4.375 kB / 0.7683 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.4172, allocations: 384 / 0.7683 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.219e-05/0.4173, allocations: 34.2 kB / 0.7684 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.4173, allocations: 192 / 0.7684 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4173, allocations: 3.938 kB / 0.7684 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4173, allocations: 0 / 0.7684 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.4173, allocations: 8 kB / 0.7684 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.4175, allocations: 153.6 kB / 0.7685 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/0.4175, allocations: 18.58 kB / 0.7686 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.4176, allocations: 8.953 kB / 0.7686 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.4177, allocations: 85.08 kB / 0.7686 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4178, allocations: 38.5 kB / 0.7687 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.4178, allocations: 0 / 0.7687 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.4179, allocations: 37.64 kB / 0.7687 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4179, allocations: 55.53 kB / 0.7688 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.418, allocations: 89.86 kB / 0.7689 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.418, allocations: 25.7 kB / 0.7689 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.418, allocations: 80.14 kB / 0.769 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.4181, allocations: 3.953 kB / 0.769 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.4181, allocations: 17.7 kB / 0.769 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4182, allocations: 310.8 kB / 0.7693 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.4182, allocations: 4 kB / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.4183, allocations: 8 kB / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.4183, allocations: 8.797 kB / 0.7693 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4183, allocations: 0 / 0.7693 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.672e-05/0.4183, allocations: 33.7 kB / 0.7693 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.4184, allocations: 4 kB / 0.7693 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4184, allocations: 0 / 0.7693 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4184, allocations: 3.938 kB / 0.7693 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.4184, allocations: 7.984 kB / 0.7693 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.4184, allocations: 3.938 kB / 0.7693 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.4184, allocations: 4.094 kB / 0.7694 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.4184, allocations: 0 / 0.7694 GB, free: 1.309 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 7.482e-05/0.4185, allocations: 112.2 kB / 0.7695 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.4185, allocations: 4 kB / 0.7695 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/0.4186, allocations: 48.69 kB / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4186, allocations: 0 / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4186, allocations: 0 / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.4186, allocations: 0 / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.4187, allocations: 141.7 kB / 0.7696 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4187, allocations: 4.031 kB / 0.7696 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.4187, allocations: 4 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.4187, allocations: 0 / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.4187, allocations: 7.875 kB / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4187, allocations: 0 / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4187, allocations: 3.984 kB / 0.7697 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.86e-05/0.4188, allocations: 61.08 kB / 0.7697 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.4189, allocations: 77.11 kB / 0.7698 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.4189, allocations: 7.969 kB / 0.7698 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.4189, allocations: 0 / 0.7698 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.4189, allocations: 3.984 kB / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.4189, allocations: 4 kB / 0.7698 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.4189, allocations: 75.28 kB / 0.7699 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4189, allocations: 0 / 0.7699 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001895/0.4191, allocations: 10.25 kB / 0.7699 GB, free: 0.6602 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.0001734/0.4193, allocations: 115.2 kB / 0.77 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.4194, allocations: 11.98 kB / 0.77 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4194, allocations: 0 / 0.77 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-06/0.4194, allocations: 0 / 0.77 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.4195, allocations: 4.75 kB / 0.77 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.4197, allocations: 81 kB / 0.7701 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.42, allocations: 0.673 MB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.848e-06/0.42, allocations: 0 / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.4201, allocations: 15.42 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4201, allocations: 0 / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Templates: time 0.002516/0.4226, allocations: 403.8 kB / 0.7712 GB, free: 15.31 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)