Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_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.005439/0.005439, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001266/0.001266, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.83/0.83, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 0.5808 GB, free: 8.125 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4413, allocations: 80.21 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001587/0.4429, allocations: 0.588 MB / 0.6597 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.014e-05/0.4429, allocations: 5.844 kB / 0.6597 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.443, allocations: 0 / 0.6597 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.443, allocations: 0 / 0.6597 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.079e-05/0.443, allocations: 0 / 0.6597 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.099e-05/0.4431, allocations: 4.703 kB / 0.6597 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.4431, allocations: 5.625 kB / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.4432, allocations: 2.016 kB / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.4432, allocations: 0 / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.748e-05/0.4432, allocations: 2.375 kB / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.4432, allocations: 0 / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.4432, allocations: 0 / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.4432, allocations: 0 / 0.6597 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.4433, allocations: 5.828 kB / 0.6598 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.866e-05/0.4433, allocations: 0.75 kB / 0.6598 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4433, allocations: 0 / 0.6598 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4433, allocations: 4 kB / 0.6598 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.4433, allocations: 0 / 0.6598 GB, free: 9.512 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.0001991/0.4435, allocations: 316.8 kB / 0.6601 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4436, allocations: 10.41 kB / 0.6601 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.031e-05/0.4436, allocations: 30.75 kB / 0.6601 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.788e-05/0.4436, allocations: 2.188 kB / 0.6601 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.871e-05/0.4437, allocations: 161.9 kB / 0.6603 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4437, allocations: 384 / 0.6603 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.4437, allocations: 5.656 kB / 0.6603 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.281e-05/0.4438, allocations: 32.42 kB / 0.6603 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4438, allocations: 3.938 kB / 0.6603 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.4438, allocations: 0 / 0.6603 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4438, allocations: 5.891 kB / 0.6603 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.4438, allocations: 0.9375 kB / 0.6603 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.208e-05/0.4439, allocations: 152.1 kB / 0.6604 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.338e-05/0.444, allocations: 17.75 kB / 0.6605 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.444, allocations: 15.56 kB / 0.6605 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.444, allocations: 0.6562 kB / 0.6605 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.444, allocations: 35.94 kB / 0.6605 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.444, allocations: 0 / 0.6605 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 9.841e-05/0.4441, allocations: 39.67 kB / 0.6606 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/0.4442, allocations: 52.16 kB / 0.6606 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.403e-05/0.4442, allocations: 89.86 kB / 0.6607 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.4442, allocations: 26.83 kB / 0.6607 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-06/0.4442, allocations: 84.27 kB / 0.6608 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.4442, allocations: 5.703 kB / 0.6608 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.4443, allocations: 15.16 kB / 0.6608 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.4443, allocations: 313.2 kB / 0.6611 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.4443, allocations: 0 / 0.6611 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.4443, allocations: 2.016 kB / 0.6611 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.4443, allocations: 11.55 kB / 0.6611 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4444, allocations: 4.062 kB / 0.6611 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.729e-05/0.4444, allocations: 35.98 kB / 0.6612 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4444, allocations: 6.625 kB / 0.6612 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4444, allocations: 3.938 kB / 0.6612 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4444, allocations: 0 / 0.6612 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.84e-05/0.4445, allocations: 1.781 kB / 0.6612 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.4445, allocations: 1.156 kB / 0.6612 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.4445, allocations: 4.75 kB / 0.6612 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.4445, allocations: 1.219 kB / 0.6612 GB, free: 7.887 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 3.822e-05/0.4446, allocations: 112.3 kB / 0.6613 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-06/0.4446, allocations: 0 / 0.6613 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.4446, allocations: 8.609 kB / 0.6613 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.4446, allocations: 0 / 0.6613 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4446, allocations: 1.531 kB / 0.6613 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4446, allocations: 0.7031 kB / 0.6613 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.057e-05/0.4447, allocations: 145.2 kB / 0.6614 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4447, allocations: 0 / 0.6614 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-06/0.4447, allocations: 5.5 kB / 0.6614 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4447, allocations: 0.5625 kB / 0.6614 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.4447, allocations: 13.25 kB / 0.6615 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.4447, allocations: 0 / 0.6615 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4447, allocations: 0.5625 kB / 0.6615 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.246e-05/0.4447, allocations: 60.86 kB / 0.6615 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.4448, allocations: 79.67 kB / 0.6616 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.4448, allocations: 4.641 kB / 0.6616 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.4448, allocations: 0 / 0.6616 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.4448, allocations: 2.547 kB / 0.6616 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.4448, allocations: 4.031 kB / 0.6616 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.056e-05/0.4448, allocations: 77.95 kB / 0.6617 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4448, allocations: 0 / 0.6617 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001858/0.445, allocations: 1.375 kB / 0.6617 GB, free: 7.309 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.000187/0.4452, allocations: 0.5908 MB / 0.6623 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.775e-05/0.4453, allocations: 11.92 kB / 0.6623 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.4453, allocations: 0 / 0.6623 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-06/0.4453, allocations: 3.219 kB / 0.6623 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.4455, allocations: 1.375 kB / 0.6623 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.4457, allocations: 109.5 kB / 0.6624 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.399e-05/0.4458, allocations: 0.6711 MB / 0.663 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.026e-05/0.4458, allocations: 0.7188 kB / 0.663 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.4458, allocations: 12.44 kB / 0.663 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4458, allocations: 0 / 0.663 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.4666, allocations: 0.8608 MB / 0.6639 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.606, allocations: 11.08 kB / 0.6639 GB, free: 5.523 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)