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.005511/0.005511, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.001342/0.001342, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 290.1 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.8964/0.8964, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 103.8 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4129, allocations: 86.99 MB / 0.7664 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002293/0.4153, allocations: 1.426 MB / 0.7678 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.4157, allocations: 164.3 kB / 0.7679 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.4157, allocations: 0 / 0.7679 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.4157, allocations: 3.984 kB / 0.7679 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.4158, allocations: 7.938 kB / 0.768 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.4161, allocations: 35.89 kB / 0.768 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.4161, allocations: 19.94 kB / 0.768 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.4162, allocations: 11.98 kB / 0.768 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.4163, allocations: 4 kB / 0.768 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.4163, allocations: 15.92 kB / 0.768 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.4163, allocations: 0 / 0.768 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4164, allocations: 39.91 kB / 0.7681 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.4164, allocations: 7.984 kB / 0.7681 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.4165, allocations: 3.938 kB / 0.7681 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.4166, allocations: 51.86 kB / 0.7681 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4166, allocations: 0 / 0.7681 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4166, allocations: 7.938 kB / 0.7681 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.4166, allocations: 4 kB / 0.7681 GB, free: 2.273 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.000389/0.417, allocations: 339.3 kB / 0.7685 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.4171, allocations: 12.03 kB / 0.7685 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.4171, allocations: 0.9375 kB / 0.7685 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.4172, allocations: 168.3 kB / 0.7686 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4172, allocations: 4.375 kB / 0.7687 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.4172, allocations: 4.375 kB / 0.7687 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4174, allocations: 50.25 kB / 0.7687 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.4174, allocations: 192 / 0.7687 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4174, allocations: 7.922 kB / 0.7687 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4174, allocations: 3.984 kB / 0.7687 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4176, allocations: 31.97 kB / 0.7687 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.4179, allocations: 245 kB / 0.769 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.418, allocations: 46.44 kB / 0.769 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.4181, allocations: 16.91 kB / 0.769 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.4183, allocations: 89.09 kB / 0.7691 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.4183, allocations: 30.56 kB / 0.7692 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4184, allocations: 0 / 0.7692 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003417/0.4187, allocations: 89.55 kB / 0.7692 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.4187, allocations: 55.34 kB / 0.7693 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.4188, allocations: 105.8 kB / 0.7694 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.4188, allocations: 25.7 kB / 0.7694 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.4189, allocations: 84.14 kB / 0.7695 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.4189, allocations: 6.438 kB / 0.7695 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.4189, allocations: 17.84 kB / 0.7695 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4191, allocations: 314.8 kB / 0.7698 GB, free: 340 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.4191, allocations: 15.97 kB / 0.7698 GB, free: 324 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.4192, allocations: 19.98 kB / 0.7699 GB, free: 304 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.4193, allocations: 32.83 kB / 0.7699 GB, free: 268 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4194, allocations: 4.062 kB / 0.7699 GB, free: 264 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.4196, allocations: 73.53 kB / 0.77 GB, free: 184 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4196, allocations: 4 kB / 0.77 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.4196, allocations: 0 / 0.77 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.4196, allocations: 4 kB / 0.77 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.4197, allocations: 7.984 kB / 0.77 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.4197, allocations: 0 / 0.77 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.4197, allocations: 16.02 kB / 0.77 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.4197, allocations: 0 / 0.77 GB, free: 152 kB / 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 6.84e-05/0.4198, allocations: 117.8 kB / 0.7701 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.4199, allocations: 0 / 0.7701 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.4201, allocations: 64.78 kB / 0.7702 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4201, allocations: 7.938 kB / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4201, allocations: 0 / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4201, allocations: 4.031 kB / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.4202, allocations: 165.5 kB / 0.7703 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4203, allocations: 0 / 0.7703 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.4203, allocations: 8 kB / 0.7703 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4203, allocations: 0 / 0.7703 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4203, allocations: 3.984 kB / 0.7703 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4203, allocations: 0 / 0.7703 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4203, allocations: 0 / 0.7703 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4206, allocations: 171.4 kB / 0.7705 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.4206, allocations: 77.11 kB / 0.7706 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.4206, allocations: 0 / 0.7706 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.4207, allocations: 4 kB / 0.7706 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.4207, allocations: 7.984 kB / 0.7706 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4207, allocations: 7.938 kB / 0.7706 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.4208, allocations: 79.28 kB / 0.7707 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4208, allocations: 4.031 kB / 0.7707 GB, free: 15.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002246/0.421, allocations: 12 kB / 0.7707 GB, free: 15.33 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.0001635/0.4212, allocations: 111.2 kB / 0.7708 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.4214, allocations: 39.95 kB / 0.7708 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4214, allocations: 4.062 kB / 0.7708 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.4215, allocations: 15.98 kB / 0.7709 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.4217, allocations: 7.938 kB / 0.7709 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.422, allocations: 105.6 kB / 0.771 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4222, allocations: 0.6807 MB / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.4222, allocations: 0 / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.4223, allocations: 15.44 kB / 0.7716 GB, free: 14.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4223, allocations: 0 / 0.7716 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Templates: time 0.002547/0.4248, allocations: 0.668 MB / 0.7723 GB, free: 13.62 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)