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.001717/0.001722, allocations: 105.6 kB / 16.41 MB, free: 6.488 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.001865/0.001865, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.269/1.269, 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.001972/0.001972, allocations: 288 kB / 291.5 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.9142/0.9142, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.42, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002373/0.4224, allocations: 1.43 MB / 0.7684 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.4228, allocations: 164.3 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.4229, allocations: 4 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.4229, allocations: 3.938 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.4229, allocations: 0 / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.4233, allocations: 35.84 kB / 0.7686 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.089e-05/0.4233, allocations: 27.97 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.4234, allocations: 7.984 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.4235, allocations: 8 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.4235, allocations: 11.92 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.4235, allocations: 3.938 kB / 0.7687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.4236, allocations: 35.97 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.4237, allocations: 4 kB / 0.7687 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.4237, allocations: 15.92 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.4238, allocations: 47.88 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4238, allocations: 3.938 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4238, allocations: 4 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.4239, allocations: 0 / 0.7688 GB, free: 2.082 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.000411/0.4243, allocations: 351.1 kB / 0.7691 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.4243, allocations: 8.031 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.4244, allocations: 0.9375 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.4245, allocations: 164.4 kB / 0.7693 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.4245, allocations: 384 / 0.7693 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.4245, allocations: 384 / 0.7693 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4247, allocations: 54.23 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.4247, allocations: 192 / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.4247, allocations: 3.938 kB / 0.7694 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4247, allocations: 0 / 0.7694 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.4249, allocations: 35.95 kB / 0.7694 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.4251, allocations: 248.9 kB / 0.7696 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4253, allocations: 46.53 kB / 0.7697 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.4254, allocations: 20.91 kB / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.4255, allocations: 85.09 kB / 0.7698 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4256, allocations: 34.56 kB / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.4256, allocations: 0 / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003454/0.4259, allocations: 89.48 kB / 0.7699 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.426, allocations: 55.41 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.239e-05/0.426, allocations: 101.8 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.426, allocations: 25.7 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.4261, allocations: 84.12 kB / 0.7702 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.4261, allocations: 10.38 kB / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.4261, allocations: 17.84 kB / 0.7702 GB, free: 464 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.4262, allocations: 314.8 kB / 0.7705 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.4263, allocations: 15.98 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.4264, allocations: 19.97 kB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.4265, allocations: 36.83 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4265, allocations: 4.062 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002047/0.4268, allocations: 69.53 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4268, allocations: 8 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4268, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4268, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.4269, allocations: 7.984 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4269, allocations: 4 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.4269, allocations: 0 / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.4269, allocations: 8.031 kB / 0.7706 GB, free: 15.96 MB / 0.545 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.903e-05/0.427, allocations: 117.8 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.4271, allocations: 4 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.4273, allocations: 76.72 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4273, allocations: 0 / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4273, allocations: 0 / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4273, allocations: 3.938 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.4274, allocations: 161.6 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4275, allocations: 3.984 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.4275, allocations: 8 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4275, allocations: 0 / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.4275, allocations: 0 / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4275, allocations: 0 / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4275, allocations: 0 / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.4278, allocations: 167.4 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.4278, allocations: 85.03 kB / 0.7712 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4278, allocations: 8 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.4279, allocations: 4 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.4279, allocations: 3.984 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.4279, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.428, allocations: 79.28 kB / 0.7713 GB, free: 15.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.533e-06/0.428, allocations: 0 / 0.7713 GB, free: 15.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002207/0.4282, allocations: 15.97 kB / 0.7714 GB, free: 15.14 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.0001614/0.4284, allocations: 115.2 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.4286, allocations: 31.97 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4286, allocations: 0 / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.4287, allocations: 24.03 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.4289, allocations: 7.938 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.4292, allocations: 139.2 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.4295, allocations: 0.6729 MB / 0.7723 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.4295, allocations: 7.438 kB / 0.7723 GB, free: 14.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.4295, allocations: 0 / 0.7723 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002132/0.4316, allocations: 0.7751 MB / 0.7731 GB, free: 13.3 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)