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.008322/0.008322, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9091/0.9091, allocations: 135.2 MB / 151 MB, free: 13.84 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.545/1.545, allocations: 223.2 MB / 406.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 89.28 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5732, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.7297, allocations: 110.6 MB / 0.7575 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.73, allocations: 63.97 kB / 0.7576 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005653/0.7306, allocations: 376.8 kB / 0.7579 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7306, allocations: 0 / 0.7579 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.7306, allocations: 4.062 kB / 0.7579 GB, free: 4.977 MB / 0.5261 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.0002616/0.7309, allocations: 307.4 kB / 0.7582 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.731, allocations: 16.03 kB / 0.7582 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.731, allocations: 34.56 kB / 0.7583 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.731, allocations: 0 / 0.7583 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.468e-05/0.7311, allocations: 167 kB / 0.7584 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.7311, allocations: 0 / 0.7584 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.7312, allocations: 0 / 0.7584 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.686e-05/0.7313, allocations: 25.7 kB / 0.7585 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7313, allocations: 7.938 kB / 0.7585 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.7313, allocations: 0 / 0.7585 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7313, allocations: 0 / 0.7585 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.7313, allocations: 8 kB / 0.7585 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.7315, allocations: 149.1 kB / 0.7586 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.7315, allocations: 26.58 kB / 0.7586 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.7315, allocations: 0 / 0.7586 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.7316, allocations: 30.56 kB / 0.7587 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.7316, allocations: 0 / 0.7587 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.7317, allocations: 41.7 kB / 0.7587 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.7317, allocations: 51.41 kB / 0.7588 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.7318, allocations: 89 kB / 0.7588 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.7318, allocations: 25.7 kB / 0.7589 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.7319, allocations: 80.14 kB / 0.7589 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.7319, allocations: 3.906 kB / 0.7589 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/0.7319, allocations: 0 / 0.7589 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.732, allocations: 310.8 kB / 0.7592 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.732, allocations: 128 / 0.7592 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.481e-05/0.7321, allocations: 12 kB / 0.7593 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.851e-05/0.7321, allocations: 7.922 kB / 0.7593 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7321, allocations: 0 / 0.7593 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.59e-05/0.7321, allocations: 37.59 kB / 0.7593 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7322, allocations: 8 kB / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7322, allocations: 0 / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.7322, allocations: 0 / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.7323, allocations: 0 / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.7323, allocations: 0 / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.7323, allocations: 6.484 kB / 0.7593 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.7323, allocations: 4 kB / 0.7593 GB, free: 3.344 MB / 0.5261 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 7.31e-05/0.7324, allocations: 105.8 kB / 0.7594 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.7324, allocations: 3.953 kB / 0.7594 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.7324, allocations: 7.109 kB / 0.7594 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.7324, allocations: 0 / 0.7594 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7324, allocations: 0 / 0.7594 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7324, allocations: 0 / 0.7594 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.971e-05/0.7325, allocations: 153.6 kB / 0.7596 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7326, allocations: 4 kB / 0.7596 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.7326, allocations: 0 / 0.7596 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.7326, allocations: 7.953 kB / 0.7596 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.7326, allocations: 0 / 0.7596 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7326, allocations: 7.984 kB / 0.7596 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7326, allocations: 0 / 0.7596 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.768e-05/0.7327, allocations: 57.08 kB / 0.7596 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.7327, allocations: 77.11 kB / 0.7597 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.7327, allocations: 7.984 kB / 0.7597 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/0.7328, allocations: 4 kB / 0.7597 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.7328, allocations: 3.984 kB / 0.7597 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.7328, allocations: 0 / 0.7597 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.7328, allocations: 75.28 kB / 0.7598 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7328, allocations: 0 / 0.7598 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001804/0.733, allocations: 0 / 0.7598 GB, free: 2.742 MB / 0.5261 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.0003295/0.7333, allocations: 0.589 MB / 0.7604 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.651e-05/0.7334, allocations: 4 kB / 0.7604 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7334, allocations: 0 / 0.7604 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-06/0.7334, allocations: 3.984 kB / 0.7604 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.368e-05/0.7335, allocations: 11.89 kB / 0.7604 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.7338, allocations: 104.6 kB / 0.7605 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.7341, allocations: 0.677 MB / 0.7612 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.7341, allocations: 0 / 0.7612 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.7341, allocations: 7.438 kB / 0.7612 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/0.7341, allocations: 0 / 0.7612 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01079/0.7449, allocations: 0.675 MB / 0.7618 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.7452, allocations: 160.4 kB / 0.762 GB, free: 440 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.239, allocations: 0 / 0.762 GB, free: 440 kB / 0.5261 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)