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) 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/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001979, allocations: 192 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9903/0.9903, allocations: 135.5 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4507, allocations: 81.01 MB / 0.6648 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001597/0.4523, allocations: 0.5794 MB / 0.6654 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.264e-05/0.4523, allocations: 7.984 kB / 0.6654 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.4524, allocations: 1.625 kB / 0.6654 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.4524, allocations: 7.875 kB / 0.6654 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.4524, allocations: 0 / 0.6654 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.958e-05/0.4525, allocations: 4 kB / 0.6654 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.4525, allocations: 1.5 kB / 0.6654 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.4526, allocations: 5.172 kB / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.148e-05/0.4526, allocations: 0 / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.4526, allocations: 1.219 kB / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.4526, allocations: 0 / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-06/0.4526, allocations: 0 / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.4526, allocations: 0 / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.4527, allocations: 1.156 kB / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.268e-05/0.4527, allocations: 0 / 0.6654 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4527, allocations: 5.562 kB / 0.6654 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4527, allocations: 4 kB / 0.6654 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4528, allocations: 0 / 0.6654 GB, free: 6.453 MB / 0.4981 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.0002053/0.453, allocations: 313.9 kB / 0.6657 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.453, allocations: 9.875 kB / 0.6657 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.383e-05/0.453, allocations: 34.75 kB / 0.6658 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.981e-05/0.4531, allocations: 2.344 kB / 0.6658 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.476e-05/0.4531, allocations: 160.4 kB / 0.6659 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4531, allocations: 384 / 0.6659 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.4532, allocations: 5.344 kB / 0.6659 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.051e-05/0.4532, allocations: 35.58 kB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.4533, allocations: 5.219 kB / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.4533, allocations: 3.984 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4533, allocations: 0 / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.4533, allocations: 5.438 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.4534, allocations: 142.9 kB / 0.6661 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.817e-05/0.4534, allocations: 16.3 kB / 0.6661 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.4535, allocations: 12.48 kB / 0.6661 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.4535, allocations: 0 / 0.6661 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.4535, allocations: 38.5 kB / 0.6662 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.4535, allocations: 1.156 kB / 0.6662 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001082/0.4536, allocations: 38.19 kB / 0.6662 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.4536, allocations: 51.41 kB / 0.6663 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.543e-05/0.4537, allocations: 89.86 kB / 0.6663 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.4537, allocations: 27.08 kB / 0.6664 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.026e-05/0.4537, allocations: 84.14 kB / 0.6665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.4537, allocations: 5.234 kB / 0.6665 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.4538, allocations: 14.94 kB / 0.6665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.4538, allocations: 310.8 kB / 0.6668 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.4538, allocations: 1.406 kB / 0.6668 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.4538, allocations: 1.031 kB / 0.6668 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.4538, allocations: 12.14 kB / 0.6668 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4539, allocations: 4.062 kB / 0.6668 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.074e-05/0.4539, allocations: 38.31 kB / 0.6668 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4539, allocations: 5.625 kB / 0.6668 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4539, allocations: 3.938 kB / 0.6668 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4539, allocations: 1.5 kB / 0.6668 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.454, allocations: 1.094 kB / 0.6668 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.454, allocations: 0 / 0.6668 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.454, allocations: 4.609 kB / 0.6668 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.454, allocations: 0 / 0.6668 GB, free: 4.824 MB / 0.4981 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 4.128e-05/0.4541, allocations: 111 kB / 0.6669 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-06/0.4541, allocations: 1.062 kB / 0.6669 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.4541, allocations: 11.05 kB / 0.667 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4541, allocations: 1.281 kB / 0.667 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4541, allocations: 7.875 kB / 0.667 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4541, allocations: 3.938 kB / 0.667 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.972e-05/0.4542, allocations: 143.1 kB / 0.6671 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4542, allocations: 0 / 0.6671 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-06/0.4542, allocations: 2.406 kB / 0.6671 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.4542, allocations: 0 / 0.6671 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.4542, allocations: 7.938 kB / 0.6671 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4542, allocations: 5.375 kB / 0.6671 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4542, allocations: 0 / 0.6671 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.619e-05/0.4543, allocations: 62.52 kB / 0.6672 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.4543, allocations: 77.11 kB / 0.6673 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.4543, allocations: 7.922 kB / 0.6673 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-06/0.4543, allocations: 1.125 kB / 0.6673 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.4543, allocations: 4.031 kB / 0.6673 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.4543, allocations: 1.188 kB / 0.6673 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.129e-05/0.4544, allocations: 75.28 kB / 0.6673 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4544, allocations: 0 / 0.6673 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001851/0.4545, allocations: 1.375 kB / 0.6673 GB, free: 4.23 MB / 0.4981 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.0002119/0.4548, allocations: 0.5993 MB / 0.6679 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.62e-05/0.4548, allocations: 4.094 kB / 0.6679 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4548, allocations: 0 / 0.6679 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-06/0.4549, allocations: 11.33 kB / 0.6679 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.455, allocations: 3.938 kB / 0.6679 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.4552, allocations: 105.4 kB / 0.668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.069e-05/0.4553, allocations: 0.6703 MB / 0.6687 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.051e-05/0.4554, allocations: 4.125 kB / 0.6687 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.4554, allocations: 7.438 kB / 0.6687 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4554, allocations: 1.25 kB / 0.6687 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.4754, allocations: 0.8761 MB / 0.6696 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.297, allocations: 5.703 kB / 0.6696 GB, free: 2.215 MB / 0.4981 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/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)