Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 104.2 kB / 15.98 MB, free: 6.34 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.001296/0.001296, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7417/0.7417, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 75.88 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4, allocations: 76.16 MB / 0.556 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001763/0.4019, allocations: 0.644 MB / 0.5567 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003249/0.4022, allocations: 100.4 kB / 0.5568 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.162e-05/0.4022, allocations: 0 / 0.5568 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.4022, allocations: 0 / 0.5568 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.4023, allocations: 0 / 0.5568 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.4026, allocations: 38.09 kB / 0.5568 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.521e-05/0.4026, allocations: 4.812 kB / 0.5568 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.4027, allocations: 0 / 0.5568 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.4027, allocations: 2 kB / 0.5568 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.4027, allocations: 0 / 0.5568 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.4027, allocations: 7.281 kB / 0.5568 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.4029, allocations: 37.28 kB / 0.5568 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.4029, allocations: 7.734 kB / 0.5568 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.388e-05/0.4029, allocations: 0 / 0.5568 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.211e-05/0.403, allocations: 24.66 kB / 0.5569 GB, free: 35.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.403, allocations: 0 / 0.5569 GB, free: 35.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.403, allocations: 0 / 0.5569 GB, free: 35.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.403, allocations: 1.625 kB / 0.5569 GB, free: 35.17 MB / 446.1 MB 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.0002265/0.4033, allocations: 317 kB / 0.5572 GB, free: 34.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4033, allocations: 9.875 kB / 0.5572 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.421e-05/0.4033, allocations: 33.56 kB / 0.5572 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.4034, allocations: 0.9375 kB / 0.5572 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.366e-05/0.4034, allocations: 163.8 kB / 0.5574 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.4035, allocations: 4.875 kB / 0.5574 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.4035, allocations: 2.75 kB / 0.5574 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.4036, allocations: 28.08 kB / 0.5574 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4036, allocations: 4.688 kB / 0.5574 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.4036, allocations: 0 / 0.5574 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4036, allocations: 3.719 kB / 0.5574 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.4036, allocations: 0 / 0.5574 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.922e-05/0.4037, allocations: 151.2 kB / 0.5576 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.4038, allocations: 21.23 kB / 0.5576 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.4038, allocations: 8.234 kB / 0.5576 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.404, allocations: 82.19 kB / 0.5577 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.404, allocations: 38.06 kB / 0.5577 GB, free: 34.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.404, allocations: 3.938 kB / 0.5577 GB, free: 34.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001208/0.4041, allocations: 41.38 kB / 0.5577 GB, free: 34.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.4042, allocations: 53.94 kB / 0.5578 GB, free: 34.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.688e-05/0.4042, allocations: 89.86 kB / 0.5579 GB, free: 33.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.4042, allocations: 25.7 kB / 0.5579 GB, free: 33.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.049e-05/0.4042, allocations: 80.95 kB / 0.558 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4042, allocations: 3.984 kB / 0.558 GB, free: 33.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.4043, allocations: 14.19 kB / 0.558 GB, free: 33.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.4043, allocations: 313 kB / 0.5583 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.4043, allocations: 9.562 kB / 0.5583 GB, free: 33.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.4043, allocations: 1.906 kB / 0.5583 GB, free: 33.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.4044, allocations: 10.05 kB / 0.5583 GB, free: 33.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4044, allocations: 0 / 0.5583 GB, free: 33.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.972e-05/0.4044, allocations: 33.17 kB / 0.5584 GB, free: 33.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4045, allocations: 6.406 kB / 0.5584 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4045, allocations: 3.938 kB / 0.5584 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4045, allocations: 3.281 kB / 0.5584 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.372e-05/0.4045, allocations: 2.406 kB / 0.5584 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4045, allocations: 1.547 kB / 0.5584 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.4045, allocations: 0 / 0.5584 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.4045, allocations: 3.938 kB / 0.5584 GB, free: 33.48 MB / 446.1 MB 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 4.344e-05/0.4046, allocations: 111.1 kB / 0.5585 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.4046, allocations: 1.453 kB / 0.5585 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.4047, allocations: 42.08 kB / 0.5585 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4047, allocations: 3.031 kB / 0.5585 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4047, allocations: 1.641 kB / 0.5585 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.4047, allocations: 0 / 0.5585 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.376e-05/0.4048, allocations: 148.4 kB / 0.5587 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4048, allocations: 5.281 kB / 0.5587 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.4048, allocations: 3.25 kB / 0.5587 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.4048, allocations: 0 / 0.5587 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.4048, allocations: 3.938 kB / 0.5587 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4048, allocations: 2.453 kB / 0.5587 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4048, allocations: 1.312 kB / 0.5587 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.283e-05/0.4049, allocations: 62.56 kB / 0.5587 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.4049, allocations: 83.55 kB / 0.5588 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.4049, allocations: 3.938 kB / 0.5588 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.4049, allocations: 1.031 kB / 0.5588 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.405, allocations: 1.281 kB / 0.5588 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.405, allocations: 3.797 kB / 0.5588 GB, free: 32.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.405, allocations: 75.28 kB / 0.5589 GB, free: 32.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.405, allocations: 1.344 kB / 0.5589 GB, free: 32.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.4052, allocations: 16.22 kB / 0.5589 GB, free: 32.87 MB / 446.1 MB 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.0003076/0.4055, allocations: 0.6105 MB / 0.5595 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.4056, allocations: 8.422 kB / 0.5595 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4056, allocations: 1.938 kB / 0.5595 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.4056, allocations: 2.062 kB / 0.5595 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4057, allocations: 1.953 kB / 0.5595 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.406, allocations: 105.7 kB / 0.5596 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.4061, allocations: 0.6704 MB / 0.5603 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.015e-05/0.4061, allocations: 1.344 kB / 0.5603 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.4061, allocations: 7.438 kB / 0.5603 GB, free: 31.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4061, allocations: 1.375 kB / 0.5603 GB, free: 31.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/1.505, allocations: 1.048 MB / 0.5613 GB, free: 31.24 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/1.505, allocations: 218.3 kB / 0.5615 GB, free: 30.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/3.187, allocations: 0 / 0.5615 GB, free: 30.99 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)