Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7557/0.7557, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 99.83 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.371e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1657, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/0.8281, allocations: 110.5 MB / 0.7484 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.8284, allocations: 74.34 kB / 0.7485 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009904/0.8295, allocations: 367.7 kB / 0.7488 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8295, allocations: 2.125 kB / 0.7488 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.8295, allocations: 0 / 0.7488 GB, free: 27.82 MB / 0.5105 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.0002819/0.8298, allocations: 309 kB / 0.7491 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.8299, allocations: 7.531 kB / 0.7491 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.8299, allocations: 34.8 kB / 0.7492 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.8299, allocations: 4.438 kB / 0.7492 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.83, allocations: 170.5 kB / 0.7493 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.8301, allocations: 4 kB / 0.7493 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.8301, allocations: 0 / 0.7493 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.8302, allocations: 28.84 kB / 0.7494 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.8302, allocations: 3.969 kB / 0.7494 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.8302, allocations: 0 / 0.7494 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8302, allocations: 0 / 0.7494 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.8302, allocations: 0 / 0.7494 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.8304, allocations: 149.4 kB / 0.7495 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.8305, allocations: 34.34 kB / 0.7495 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.8305, allocations: 8.672 kB / 0.7495 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.8305, allocations: 3.188 kB / 0.7495 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.8305, allocations: 34.31 kB / 0.7496 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.8305, allocations: 0 / 0.7496 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000116/0.8307, allocations: 29.55 kB / 0.7496 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.8307, allocations: 56.42 kB / 0.7497 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.843e-05/0.8308, allocations: 85 kB / 0.7497 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.8308, allocations: 25.7 kB / 0.7498 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.8308, allocations: 80.14 kB / 0.7498 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.8309, allocations: 8.562 kB / 0.7499 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.8309, allocations: 0 / 0.7499 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.831, allocations: 314.1 kB / 0.7502 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.831, allocations: 7.438 kB / 0.7502 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.8311, allocations: 0 / 0.7502 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.032e-05/0.8311, allocations: 11.66 kB / 0.7502 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8311, allocations: 0 / 0.7502 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.821e-05/0.8312, allocations: 33.47 kB / 0.7502 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8312, allocations: 7.688 kB / 0.7502 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8312, allocations: 0 / 0.7502 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8312, allocations: 0 / 0.7502 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.8313, allocations: 0 / 0.7502 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8313, allocations: 0 / 0.7502 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.8313, allocations: 5.391 kB / 0.7502 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.8313, allocations: 4.578 kB / 0.7502 GB, free: 26.26 MB / 0.5105 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 (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 6.635e-05/0.8314, allocations: 105 kB / 0.7503 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.8314, allocations: 3.953 kB / 0.7503 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.8314, allocations: 3.125 kB / 0.7503 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8314, allocations: 0 / 0.7503 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8314, allocations: 2.875 kB / 0.7503 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8315, allocations: 3.938 kB / 0.7503 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.91e-05/0.8316, allocations: 152.2 kB / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8316, allocations: 0 / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.8316, allocations: 0 / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.8316, allocations: 7.953 kB / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8316, allocations: 3.812 kB / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.8316, allocations: 0 / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8316, allocations: 0 / 0.7505 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.229e-05/0.8317, allocations: 55.62 kB / 0.7505 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.8317, allocations: 77.11 kB / 0.7506 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.8318, allocations: 7.922 kB / 0.7506 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.8318, allocations: 4.031 kB / 0.7506 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.8318, allocations: 3.938 kB / 0.7506 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.8318, allocations: 0 / 0.7506 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.8318, allocations: 75.28 kB / 0.7507 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8318, allocations: 0 / 0.7507 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002047/0.8321, allocations: 0 / 0.7507 GB, free: 25.7 MB / 0.5105 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 (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.0003865/0.8324, allocations: 0.5908 MB / 0.7513 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.334e-05/0.8325, allocations: 6.859 kB / 0.7513 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8325, allocations: 0 / 0.7513 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.695e-06/0.8326, allocations: 3.812 kB / 0.7513 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.896e-05/0.8327, allocations: 15.45 kB / 0.7513 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.8329, allocations: 67.09 kB / 0.7514 GB, free: 25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.8333, allocations: 0.6756 MB / 0.752 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.645e-05/0.8333, allocations: 4.125 kB / 0.752 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.8333, allocations: 7.438 kB / 0.752 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.8333, allocations: 0 / 0.752 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.8451, allocations: 0.6869 MB / 0.7527 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.8453, allocations: 142 kB / 0.7528 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.338, allocations: 2.625 kB / 0.7528 GB, free: 23.93 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)