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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9724/0.9724, allocations: 175.7 MB / 480.1 MB, free: 3.176 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 66.48 kB / 0.6677 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1548, allocations: 94.54 MB / 0.76 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.00152/0.1564, allocations: 0.5844 MB / 0.7606 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 3.188e-05/0.1564, allocations: 0 / 0.7606 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.1564, allocations: 0 / 0.7606 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.1564, allocations: 0 / 0.7606 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1564, allocations: 4 kB / 0.7606 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.3e-05/0.1565, allocations: 4 kB / 0.7606 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.1565, allocations: 0 / 0.7606 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1566, allocations: 8.391 kB / 0.7606 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.1566, allocations: 0 / 0.7606 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.672e-05/0.1566, allocations: 0 / 0.7606 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.1566, allocations: 0 / 0.7606 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-06/0.1566, allocations: 0 / 0.7606 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1566, allocations: 0 / 0.7606 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.1566, allocations: 3.984 kB / 0.7606 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 4.852e-05/0.1567, allocations: 7.938 kB / 0.7606 GB, free: 264 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1567, allocations: 7.938 kB / 0.7606 GB, free: 256 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1567, allocations: 0 / 0.7606 GB, free: 256 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.1567, allocations: 0 / 0.7606 GB, free: 256 kB / 0.5606 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.0003094/0.157, allocations: 317.3 kB / 0.761 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.157, allocations: 11.97 kB / 0.761 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.1571, allocations: 34.73 kB / 0.761 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.587e-05/0.1571, allocations: 0.9375 kB / 0.761 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1572, allocations: 160.4 kB / 0.7611 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1572, allocations: 384 / 0.7612 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.1572, allocations: 4.375 kB / 0.7612 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.1573, allocations: 30.27 kB / 0.7612 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1573, allocations: 3.938 kB / 0.7612 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.1573, allocations: 0 / 0.7612 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1573, allocations: 0 / 0.7612 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.1573, allocations: 7.938 kB / 0.7612 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.1575, allocations: 149.7 kB / 0.7613 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/0.1575, allocations: 18.58 kB / 0.7614 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.1575, allocations: 16.89 kB / 0.7614 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-06/0.1576, allocations: 0 / 0.7614 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1576, allocations: 34.56 kB / 0.7614 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1576, allocations: 0 / 0.7614 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.1577, allocations: 41.58 kB / 0.7614 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1577, allocations: 59.39 kB / 0.7615 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.137e-05/0.1578, allocations: 89.86 kB / 0.7616 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1578, allocations: 29.83 kB / 0.7616 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.1578, allocations: 80.14 kB / 0.7617 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1578, allocations: 3.953 kB / 0.7617 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.1579, allocations: 9.719 kB / 0.7617 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.158, allocations: 318.8 kB / 0.762 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-06/0.158, allocations: 0 / 0.762 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-06/0.158, allocations: 0 / 0.762 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/0.158, allocations: 12.92 kB / 0.762 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.158, allocations: 0 / 0.762 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.781e-05/0.1581, allocations: 33.64 kB / 0.7621 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1581, allocations: 7.984 kB / 0.7621 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1581, allocations: 3.938 kB / 0.7621 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1581, allocations: 4 kB / 0.7621 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.1582, allocations: 0 / 0.7621 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1582, allocations: 0 / 0.7621 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.1582, allocations: 0 / 0.7621 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.1582, allocations: 3.938 kB / 0.7621 GB, free: 14.56 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.746e-05/0.1583, allocations: 117.9 kB / 0.7622 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-06/0.1583, allocations: 0 / 0.7622 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.1583, allocations: 7.062 kB / 0.7622 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.1583, allocations: 0 / 0.7622 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1583, allocations: 0 / 0.7622 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.1583, allocations: 0 / 0.7622 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.1584, allocations: 149.7 kB / 0.7623 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1584, allocations: 0 / 0.7623 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-06/0.1584, allocations: 0 / 0.7623 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1584, allocations: 0 / 0.7623 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1584, allocations: 7.938 kB / 0.7623 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.1584, allocations: 0 / 0.7623 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1584, allocations: 0 / 0.7623 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.425e-05/0.1585, allocations: 65.06 kB / 0.7624 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1585, allocations: 77.11 kB / 0.7625 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.1585, allocations: 3.938 kB / 0.7625 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-06/0.1585, allocations: 0 / 0.7625 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.1585, allocations: 8.031 kB / 0.7625 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.1585, allocations: 3.938 kB / 0.7625 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.1586, allocations: 77.52 kB / 0.7626 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1586, allocations: 0 / 0.7626 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000157/0.1587, allocations: 0 / 0.7626 GB, free: 13.96 MB / 0.5762 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 (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.0003634/0.1591, allocations: 0.5968 MB / 0.7631 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.635e-05/0.1592, allocations: 4 kB / 0.7632 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1592, allocations: 4 kB / 0.7632 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.1592, allocations: 0 / 0.7632 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.1593, allocations: 4 kB / 0.7632 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.1595, allocations: 106.6 kB / 0.7633 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1598, allocations: 0.6729 MB / 0.7639 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.024e-05/0.1598, allocations: 0 / 0.7639 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.1598, allocations: 11.56 kB / 0.7639 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1598, allocations: 0 / 0.7639 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.1821, allocations: 0.865 MB / 0.7648 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.107, allocations: 3.406 kB / 0.7648 GB, free: 11.67 MB / 0.5762 GB " [Timeout remaining time 653] (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/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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.473943510005483]