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.004735/0.004735, allocations: 101.6 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.001274/0.001274, allocations: 197.2 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.518/1.518, 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-master/package.mo): time 0.9849/0.9849, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002203, allocations: 75.88 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4438, allocations: 81.01 MB / 0.6648 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001584/0.4454, allocations: 0.5981 MB / 0.6654 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.246e-05/0.4455, allocations: 1.156 kB / 0.6654 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.4455, allocations: 0 / 0.6654 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.4455, allocations: 0 / 0.6654 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.4455, allocations: 5.562 kB / 0.6654 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.168e-05/0.4456, allocations: 4 kB / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.4456, allocations: 1.688 kB / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.4457, allocations: 0 / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.851e-05/0.4457, allocations: 1.094 kB / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.839e-05/0.4457, allocations: 0 / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.4458, allocations: 0 / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-06/0.4458, allocations: 1.062 kB / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.4458, allocations: 3.938 kB / 0.6654 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.4458, allocations: 5.125 kB / 0.6654 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.887e-05/0.4459, allocations: 3.984 kB / 0.6654 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4459, allocations: 0 / 0.6654 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4459, allocations: 5.094 kB / 0.6654 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.4459, allocations: 0 / 0.6654 GB, free: 6.387 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.0002248/0.4461, allocations: 305.8 kB / 0.6657 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4462, allocations: 10.72 kB / 0.6657 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.222e-05/0.4462, allocations: 30.75 kB / 0.6658 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.4462, allocations: 0.9375 kB / 0.6658 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.027e-05/0.4463, allocations: 165.7 kB / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.4463, allocations: 384 / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.4463, allocations: 384 / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.4464, allocations: 40.95 kB / 0.666 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4464, allocations: 3.938 kB / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.4464, allocations: 0 / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4464, allocations: 0 / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.4465, allocations: 6.406 kB / 0.666 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.996e-05/0.4466, allocations: 141.7 kB / 0.6661 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.437e-05/0.4466, allocations: 21.56 kB / 0.6661 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.4466, allocations: 18.22 kB / 0.6662 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.4466, allocations: 1.656 kB / 0.6662 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.4467, allocations: 30.56 kB / 0.6662 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4467, allocations: 0 / 0.6662 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.4468, allocations: 38.33 kB / 0.6662 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.4468, allocations: 53.03 kB / 0.6663 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.973e-05/0.4468, allocations: 89.86 kB / 0.6664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.4469, allocations: 29.77 kB / 0.6664 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.378e-05/0.4469, allocations: 84.14 kB / 0.6665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.4469, allocations: 9.203 kB / 0.6665 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.4469, allocations: 11.12 kB / 0.6665 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.447, allocations: 316.2 kB / 0.6668 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.447, allocations: 0 / 0.6668 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.447, allocations: 1.344 kB / 0.6668 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/0.447, allocations: 7.328 kB / 0.6668 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4471, allocations: 5.438 kB / 0.6668 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.857e-05/0.4471, allocations: 41.88 kB / 0.6668 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4471, allocations: 6.156 kB / 0.6668 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4471, allocations: 3.938 kB / 0.6669 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4471, allocations: 0 / 0.6669 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.4472, allocations: 1.438 kB / 0.6669 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4472, allocations: 1.531 kB / 0.6669 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.007e-05/0.4472, allocations: 1.266 kB / 0.6669 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.4472, allocations: 3.984 kB / 0.6669 GB, free: 4.754 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.593e-05/0.4473, allocations: 111 kB / 0.667 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-06/0.4473, allocations: 1.188 kB / 0.667 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.4473, allocations: 11.06 kB / 0.667 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4473, allocations: 1.125 kB / 0.667 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4473, allocations: 0 / 0.667 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4473, allocations: 3.938 kB / 0.667 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.723e-05/0.4474, allocations: 151 kB / 0.6671 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4474, allocations: 0 / 0.6671 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-06/0.4474, allocations: 2.438 kB / 0.6671 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.4474, allocations: 0 / 0.6671 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.4474, allocations: 9.25 kB / 0.6671 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.4474, allocations: 0 / 0.6671 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4474, allocations: 0 / 0.6671 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.807e-05/0.4475, allocations: 57.28 kB / 0.6672 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.4475, allocations: 82.44 kB / 0.6673 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.4475, allocations: 3.938 kB / 0.6673 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-06/0.4475, allocations: 1.344 kB / 0.6673 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.4475, allocations: 8.031 kB / 0.6673 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.4476, allocations: 1.344 kB / 0.6673 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.203e-05/0.4476, allocations: 75.28 kB / 0.6674 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4476, allocations: 0 / 0.6674 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001732/0.4477, allocations: 1.531 kB / 0.6674 GB, free: 4.164 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.0002122/0.448, allocations: 0.5952 MB / 0.6679 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.052e-05/0.448, allocations: 7.531 kB / 0.6679 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4481, allocations: 0 / 0.6679 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.4481, allocations: 3.062 kB / 0.6679 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.4482, allocations: 3.672 kB / 0.668 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.4484, allocations: 104 kB / 0.6681 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.4486, allocations: 0.6741 MB / 0.6687 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.4486, allocations: 1.062 kB / 0.6687 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.4486, allocations: 12.62 kB / 0.6687 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.4486, allocations: 0 / 0.6687 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.4704, allocations: 0.8761 MB / 0.6696 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.616, allocations: 12.25 kB / 0.6696 GB, free: 2.148 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)