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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.004971/0.004971, allocations: 99.02 kB / 15.73 MB, free: 5.598 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.001278/0.001278, allocations: 197.4 kB / 16.67 MB, free: 5.527 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 286.5 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.9584/0.9584, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002509, allocations: 99.84 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3515, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002201/0.3537, allocations: 1.425 MB / 0.7673 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000376/0.3541, allocations: 168.3 kB / 0.7675 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.3541, allocations: 0 / 0.7675 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.3542, allocations: 7.938 kB / 0.7675 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.375e-05/0.3542, allocations: 0 / 0.7675 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.3545, allocations: 39.83 kB / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.3545, allocations: 15.98 kB / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.569e-05/0.3546, allocations: 11.98 kB / 0.7675 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.3546, allocations: 4 kB / 0.7675 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.3547, allocations: 15.92 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-06/0.3547, allocations: 7.938 kB / 0.7676 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3548, allocations: 43.89 kB / 0.7676 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.3548, allocations: 4 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.3549, allocations: 11.94 kB / 0.7676 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.355, allocations: 47.66 kB / 0.7677 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.355, allocations: 4 kB / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.355, allocations: 0 / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.355, allocations: 0 / 0.7677 GB, free: 2.055 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.0004057/0.3554, allocations: 344.6 kB / 0.768 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3555, allocations: 16.03 kB / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.3555, allocations: 30.75 kB / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.3555, allocations: 0.9375 kB / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3557, allocations: 168.3 kB / 0.7682 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3557, allocations: 4.359 kB / 0.7682 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3557, allocations: 384 / 0.7682 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3558, allocations: 50.23 kB / 0.7683 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3559, allocations: 3.938 kB / 0.7683 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.3559, allocations: 0 / 0.7683 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3559, allocations: 7.984 kB / 0.7683 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.356, allocations: 31.97 kB / 0.7683 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.3563, allocations: 248.9 kB / 0.7685 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3564, allocations: 42.53 kB / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.3565, allocations: 28.91 kB / 0.7686 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.3567, allocations: 81.09 kB / 0.7687 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3567, allocations: 34.56 kB / 0.7687 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3567, allocations: 0 / 0.7687 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003125/0.357, allocations: 81.58 kB / 0.7688 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3571, allocations: 63.47 kB / 0.7689 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.3572, allocations: 101.8 kB / 0.7689 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.3572, allocations: 25.7 kB / 0.769 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.3572, allocations: 80.14 kB / 0.7691 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3573, allocations: 11.89 kB / 0.7691 GB, free: 412 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.3573, allocations: 13.72 kB / 0.7691 GB, free: 392 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3574, allocations: 310.8 kB / 0.7694 GB, free: 72 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.3575, allocations: 27.97 kB / 0.7694 GB, free: 44 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.3576, allocations: 11.98 kB / 0.7694 GB, free: 32 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3577, allocations: 36.88 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3577, allocations: 3.938 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/0.3579, allocations: 65.64 kB / 0.7695 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3579, allocations: 12 kB / 0.7695 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3579, allocations: 0 / 0.7695 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.3579, allocations: 0 / 0.7695 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.358, allocations: 11.92 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.358, allocations: 4 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.3581, allocations: 11.98 kB / 0.7695 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3581, allocations: 0 / 0.7695 GB, free: 15.88 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.927e-05/0.3582, allocations: 109.8 kB / 0.7697 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3582, allocations: 7.953 kB / 0.7697 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.3584, allocations: 76.72 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3584, allocations: 0 / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3584, allocations: 0 / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3584, allocations: 0 / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.3586, allocations: 161.6 kB / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3586, allocations: 0 / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.3587, allocations: 8 kB / 0.7699 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3587, allocations: 4.031 kB / 0.7699 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3587, allocations: 3.984 kB / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3587, allocations: 0 / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3587, allocations: 0 / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3589, allocations: 159.5 kB / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.359, allocations: 89.05 kB / 0.7701 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.359, allocations: 4.031 kB / 0.7701 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.3591, allocations: 4 kB / 0.7701 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.3591, allocations: 7.922 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3591, allocations: 4 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.3592, allocations: 79.47 kB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3592, allocations: 0 / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000299/0.3595, allocations: 8 kB / 0.7702 GB, free: 15.07 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.0005544/0.36, allocations: 0.7162 MB / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3602, allocations: 47.92 kB / 0.771 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3602, allocations: 0 / 0.771 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.3603, allocations: 15.98 kB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.3606, allocations: 2.891 kB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.361, allocations: 143.2 kB / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3613, allocations: 0.6768 MB / 0.7718 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.749e-05/0.3613, allocations: 4.125 kB / 0.7718 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.3613, allocations: 11.44 kB / 0.7718 GB, free: 13.36 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3613, allocations: 0 / 0.7718 GB, free: 13.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8544/1.216, allocations: 1.513 MB / 0.7733 GB, free: 11.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.49, allocations: 15.2 kB / 0.7733 GB, free: 11.95 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)