Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_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.0007532/0.0007531, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008021/0.0008022, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.401/2.401, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 15.94 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5868, allocations: 146.8 MB / 0.9812 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006795/0.5875, allocations: 317.5 kB / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.5878, allocations: 91.78 kB / 0.9815 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.032e-05/0.5879, allocations: 0 / 0.9815 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.157e-06/0.5879, allocations: 0 / 0.9815 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.5879, allocations: 0 / 0.9815 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.5882, allocations: 23.98 kB / 0.9816 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.459e-05/0.5882, allocations: 4 kB / 0.9816 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.5883, allocations: 3.938 kB / 0.9816 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.056e-05/0.5883, allocations: 3.938 kB / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.802e-05/0.5883, allocations: 4 kB / 0.9816 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.5883, allocations: 3.984 kB / 0.9816 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.5885, allocations: 39.91 kB / 0.9816 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.549e-06/0.5885, allocations: 0 / 0.9816 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.5885, allocations: 25.7 kB / 0.9817 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.474e-05/0.5886, allocations: 19.97 kB / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5886, allocations: 0 / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5886, allocations: 0 / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.5886, allocations: 0 / 0.9817 GB, free: 5.676 MB / 0.7325 GB 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.0002251/0.5888, allocations: 315.4 kB / 0.982 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5889, allocations: 12.03 kB / 0.982 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.5889, allocations: 30.56 kB / 0.982 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.589, allocations: 0 / 0.982 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/0.5891, allocations: 163.1 kB / 0.9822 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.5891, allocations: 0 / 0.9822 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.5891, allocations: 0 / 0.9822 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.541e-05/0.5892, allocations: 33.66 kB / 0.9822 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.5892, allocations: 3.938 kB / 0.9822 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.5892, allocations: 0 / 0.9822 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5892, allocations: 0 / 0.9822 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.5892, allocations: 8 kB / 0.9822 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.5894, allocations: 145.7 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.433e-05/0.5894, allocations: 18.58 kB / 0.9824 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.5894, allocations: 8.953 kB / 0.9824 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.5896, allocations: 81.09 kB / 0.9825 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.5897, allocations: 38.5 kB / 0.9825 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5897, allocations: 4 kB / 0.9825 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.5898, allocations: 37.59 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5899, allocations: 59.39 kB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.038e-05/0.5899, allocations: 89.86 kB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.5899, allocations: 29.64 kB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.59, allocations: 80.14 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.59, allocations: 11.89 kB / 0.9828 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.59, allocations: 0 / 0.9828 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5901, allocations: 315 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.5901, allocations: 0 / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.5901, allocations: 0 / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.547e-05/0.5901, allocations: 4 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5902, allocations: 0 / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.483e-05/0.5902, allocations: 37.64 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5902, allocations: 7.984 kB / 0.9831 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.5902, allocations: 0 / 0.9831 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.5903, allocations: 0 / 0.9831 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.752e-05/0.5903, allocations: 12.05 kB / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.5903, allocations: 0 / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-06/0.5903, allocations: 0 / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.5903, allocations: 0 / 0.9831 GB, free: 3.914 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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 5.95e-05/0.5904, allocations: 109.8 kB / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.5904, allocations: 0 / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.72e-05/0.5905, allocations: 40.75 kB / 0.9833 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5905, allocations: 0 / 0.9833 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5905, allocations: 3.953 kB / 0.9833 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5905, allocations: 4.031 kB / 0.9833 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.016e-05/0.5906, allocations: 145.7 kB / 0.9834 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5906, allocations: 0 / 0.9834 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.5906, allocations: 4 kB / 0.9834 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5907, allocations: 4 kB / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5907, allocations: 3.984 kB / 0.9834 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5907, allocations: 0 / 0.9834 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5907, allocations: 0 / 0.9834 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.893e-05/0.5908, allocations: 61.09 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.5908, allocations: 85.09 kB / 0.9836 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-06/0.5908, allocations: 0 / 0.9836 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-06/0.5908, allocations: 3.984 kB / 0.9836 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.5908, allocations: 0 / 0.9836 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.5909, allocations: 7.938 kB / 0.9836 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.5909, allocations: 79.22 kB / 0.9837 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5909, allocations: 3.938 kB / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001992/0.5911, allocations: 11.95 kB / 0.9837 GB, free: 3.258 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.0003838/0.5915, allocations: 0.603 MB / 0.9843 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.371e-05/0.5916, allocations: 4 kB / 0.9843 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5916, allocations: 4.094 kB / 0.9843 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-06/0.5916, allocations: 7.938 kB / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.5917, allocations: 0 / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.592, allocations: 108.3 kB / 0.9844 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.5922, allocations: 0.6692 MB / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.5922, allocations: 3.984 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.5923, allocations: 11.44 kB / 0.9851 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5923, allocations: 0 / 0.9851 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.6025, allocations: 0.9678 MB / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.6027, allocations: 204.3 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.231, allocations: 4 kB / 0.9862 GB, free: 0.7344 MB / 0.7325 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat