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.008155/0.008155, allocations: 100.5 kB / 15.73 MB, free: 6.039 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: 195.5 kB / 16.68 MB, free: 5.957 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.304/1.304, 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.002036/0.002036, allocations: 282.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 99.86 kB / 0.6815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.408, allocations: 86.97 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002538/0.4106, allocations: 1.429 MB / 0.7678 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004046/0.411, allocations: 160.3 kB / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.411, allocations: 0 / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.4111, allocations: 3.938 kB / 0.7679 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.4111, allocations: 7.922 kB / 0.768 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.4115, allocations: 31.91 kB / 0.768 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.4115, allocations: 23.92 kB / 0.768 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.009e-05/0.4116, allocations: 8 kB / 0.768 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.4117, allocations: 4 kB / 0.768 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.4117, allocations: 19.91 kB / 0.768 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.4117, allocations: 3.938 kB / 0.768 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4118, allocations: 35.97 kB / 0.7681 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.4119, allocations: 4 kB / 0.7681 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.4119, allocations: 11.92 kB / 0.7681 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.412, allocations: 51.81 kB / 0.7681 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.412, allocations: 0 / 0.7681 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4121, allocations: 0 / 0.7681 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4121, allocations: 0 / 0.7681 GB, free: 2.125 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004256/0.4125, allocations: 347.3 kB / 0.7685 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4125, allocations: 8.031 kB / 0.7685 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.4126, allocations: 4.922 kB / 0.7685 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.4127, allocations: 168.4 kB / 0.7686 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4127, allocations: 4.375 kB / 0.7686 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4127, allocations: 384 / 0.7686 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.4129, allocations: 50.23 kB / 0.7687 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.413, allocations: 4.188 kB / 0.7687 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.413, allocations: 3.938 kB / 0.7687 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.413, allocations: 0 / 0.7687 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.4131, allocations: 35.91 kB / 0.7687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.4134, allocations: 245 kB / 0.769 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4136, allocations: 42.5 kB / 0.769 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.4137, allocations: 20.91 kB / 0.769 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.4139, allocations: 85.09 kB / 0.7691 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4139, allocations: 38.5 kB / 0.7691 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4139, allocations: 0 / 0.7691 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000358/0.4143, allocations: 85.55 kB / 0.7692 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.4143, allocations: 55.41 kB / 0.7693 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.4144, allocations: 97.84 kB / 0.7694 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.4144, allocations: 25.7 kB / 0.7694 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.4144, allocations: 88.08 kB / 0.7695 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.4145, allocations: 10.44 kB / 0.7695 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.4145, allocations: 9.719 kB / 0.7695 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.4146, allocations: 323 kB / 0.7698 GB, free: 184 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.4147, allocations: 15.98 kB / 0.7698 GB, free: 168 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.278e-05/0.4148, allocations: 15.98 kB / 0.7698 GB, free: 152 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4149, allocations: 44.75 kB / 0.7699 GB, free: 104 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4149, allocations: 0 / 0.7699 GB, free: 104 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.4152, allocations: 65.67 kB / 0.7699 GB, free: 32 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4152, allocations: 8 kB / 0.77 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4152, allocations: 0 / 0.77 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4152, allocations: 0 / 0.77 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.4153, allocations: 11.98 kB / 0.77 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4153, allocations: 3.938 kB / 0.77 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.4154, allocations: 7.984 kB / 0.77 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.4154, allocations: 0 / 0.77 GB, free: 0 / 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 (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 7.616e-05/0.4155, allocations: 117.9 kB / 0.7701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.4155, allocations: 4 kB / 0.7701 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.4157, allocations: 68.72 kB / 0.7702 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4157, allocations: 0 / 0.7702 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4157, allocations: 4 kB / 0.7702 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4158, allocations: 0 / 0.7702 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4159, allocations: 161.6 kB / 0.7703 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4159, allocations: 4.031 kB / 0.7703 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.416, allocations: 11.98 kB / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.416, allocations: 0 / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.416, allocations: 0 / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.416, allocations: 0 / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.416, allocations: 144 / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.4163, allocations: 179.3 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.4163, allocations: 81.11 kB / 0.7706 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.4163, allocations: 0 / 0.7706 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.4164, allocations: 7.984 kB / 0.7706 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.4164, allocations: 0 / 0.7706 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.4165, allocations: 0 / 0.7706 GB, free: 15.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.4165, allocations: 83.28 kB / 0.7707 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4165, allocations: 3.938 kB / 0.7707 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002365/0.4167, allocations: 19.98 kB / 0.7707 GB, free: 15.17 MB / 0.545 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.0001665/0.4169, allocations: 111.3 kB / 0.7708 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.4171, allocations: 35.95 kB / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4171, allocations: 0 / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.4172, allocations: 27.98 kB / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4175, allocations: 3.938 kB / 0.7709 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.4178, allocations: 109.6 kB / 0.771 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.418, allocations: 0.6768 MB / 0.7716 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.4181, allocations: 0 / 0.7716 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.4181, allocations: 11.44 kB / 0.7716 GB, free: 14.13 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4181, allocations: 0 / 0.7716 GB, free: 14.13 MB / 0.545 GB Notification: Performance of Templates: time 0.002796/0.4209, allocations: 0.6482 MB / 0.7723 GB, free: 13.49 MB / 0.545 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)