Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.837/0.837, allocations: 127.4 MB / 134.9 MB, free: 3.465 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 172.9 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.97 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.597e-05, allocations: 5.344 kB / 0.5467 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1989, allocations: 76.78 MB / 0.6216 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.3483, allocations: 102 MB / 0.7213 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.3487, allocations: 75.95 kB / 0.7213 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003694/0.3524, allocations: 1.063 MB / 0.7224 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3524, allocations: 0 / 0.7224 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3524, allocations: 0 / 0.7224 GB, free: 3.73 MB / 0.4948 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.0003988/0.3528, allocations: 342.5 kB / 0.7227 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3529, allocations: 8.031 kB / 0.7227 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.353, allocations: 7.953 kB / 0.7227 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3531, allocations: 167 kB / 0.7229 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3531, allocations: 3.984 kB / 0.7229 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3532, allocations: 0 / 0.7229 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.406e-05/0.3532, allocations: 12 kB / 0.7229 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.535e-05/0.3533, allocations: 41.62 kB / 0.7229 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3533, allocations: 0 / 0.7229 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3534, allocations: 4 kB / 0.7229 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3534, allocations: 0 / 0.7229 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.3538, allocations: 245.4 kB / 0.7232 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.3539, allocations: 26.58 kB / 0.7232 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.3539, allocations: 8.859 kB / 0.7232 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.3541, allocations: 89.16 kB / 0.7233 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3542, allocations: 38.5 kB / 0.7233 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3542, allocations: 3.938 kB / 0.7233 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.3544, allocations: 37.69 kB / 0.7234 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.3544, allocations: 51.41 kB / 0.7234 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.3545, allocations: 100.9 kB / 0.7235 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3545, allocations: 29.73 kB / 0.7235 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.3546, allocations: 84.14 kB / 0.7236 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.3546, allocations: 7.906 kB / 0.7236 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.3546, allocations: 0 / 0.7236 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3547, allocations: 314.8 kB / 0.7239 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.3548, allocations: 4 kB / 0.7239 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.3548, allocations: 8 kB / 0.7239 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.3548, allocations: 0 / 0.7239 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3548, allocations: 4.062 kB / 0.7239 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.559e-05/0.3549, allocations: 45.64 kB / 0.724 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3549, allocations: 5.719 kB / 0.724 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.355, allocations: 0 / 0.724 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.355, allocations: 0 / 0.724 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.3551, allocations: 11.98 kB / 0.724 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3551, allocations: 4 kB / 0.724 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.3551, allocations: 7.984 kB / 0.724 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3551, allocations: 7.984 kB / 0.724 GB, free: 1.828 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.3552, allocations: 105 kB / 0.7241 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.847e-05/0.3553, allocations: 37.7 kB / 0.7242 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.3554, allocations: 7.891 kB / 0.7242 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.3555, allocations: 45.39 kB / 0.7242 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3555, allocations: 7.984 kB / 0.7242 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3555, allocations: 3.953 kB / 0.7242 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3555, allocations: 0 / 0.7242 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.3556, allocations: 146.3 kB / 0.7244 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3556, allocations: 0 / 0.7244 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.3557, allocations: 11.98 kB / 0.7244 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3557, allocations: 0 / 0.7244 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3557, allocations: 0 / 0.7244 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3557, allocations: 0 / 0.7244 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3558, allocations: 0 / 0.7244 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3559, allocations: 143.5 kB / 0.7245 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.3559, allocations: 81.05 kB / 0.7246 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.356, allocations: 3.938 kB / 0.7246 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.356, allocations: 8 kB / 0.7246 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3561, allocations: 7.984 kB / 0.7246 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3561, allocations: 7.938 kB / 0.7246 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.3561, allocations: 79.45 kB / 0.7247 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3562, allocations: 0 / 0.7247 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002198/0.3564, allocations: 23.97 kB / 0.7247 GB, free: 1.035 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005527/0.3569, allocations: 0.6949 MB / 0.7254 GB, free: 320 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.357, allocations: 19.97 kB / 0.7254 GB, free: 300 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.357, allocations: 0 / 0.7254 GB, free: 300 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.3571, allocations: 4 kB / 0.7254 GB, free: 296 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.3573, allocations: 0 / 0.7254 GB, free: 296 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.3576, allocations: 93.59 kB / 0.7255 GB, free: 164 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.358, allocations: 0.6807 MB / 0.7262 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.875e-05/0.358, allocations: 4.109 kB / 0.7262 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.358, allocations: 11.44 kB / 0.7262 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.3581, allocations: 0 / 0.7262 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.3793, allocations: 0.9316 MB / 0.7271 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.3795, allocations: 154.5 kB / 0.7272 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.941, allocations: 32 / 0.7272 GB, free: 14.32 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)