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.005011/0.005011, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001146/0.001146, allocations: 188.6 kB / 16.67 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9086/0.9086, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4237, allocations: 80.91 MB / 0.6641 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001582/0.4254, allocations: 0.5943 MB / 0.6647 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.895e-05/0.4254, allocations: 7.984 kB / 0.6647 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.4255, allocations: 0 / 0.6647 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.4255, allocations: 1.406 kB / 0.6647 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.4255, allocations: 0 / 0.6647 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.297e-05/0.4256, allocations: 0 / 0.6647 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.4256, allocations: 5.312 kB / 0.6647 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.4257, allocations: 1.375 kB / 0.6647 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.4257, allocations: 0 / 0.6647 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.811e-05/0.4257, allocations: 4 kB / 0.6647 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.4257, allocations: 1.25 kB / 0.6647 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.4257, allocations: 0 / 0.6647 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.4257, allocations: 0 / 0.6647 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.4258, allocations: 5.359 kB / 0.6647 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.029e-05/0.4258, allocations: 0 / 0.6647 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4258, allocations: 1.375 kB / 0.6647 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4258, allocations: 0 / 0.6647 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4259, allocations: 0 / 0.6647 GB, free: 6.785 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.0002311/0.4261, allocations: 310.4 kB / 0.665 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4261, allocations: 13.91 kB / 0.665 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.4262, allocations: 34.69 kB / 0.6651 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.116e-05/0.4262, allocations: 0.9375 kB / 0.6651 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.379e-05/0.4263, allocations: 165.8 kB / 0.6652 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4263, allocations: 384 / 0.6652 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-06/0.4263, allocations: 384 / 0.6652 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.512e-05/0.4264, allocations: 28.83 kB / 0.6653 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4264, allocations: 3.938 kB / 0.6653 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.4264, allocations: 0 / 0.6653 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4264, allocations: 3.938 kB / 0.6653 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.4264, allocations: 6.594 kB / 0.6653 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.4265, allocations: 145.7 kB / 0.6654 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.311e-05/0.4266, allocations: 25.56 kB / 0.6654 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.4266, allocations: 7.109 kB / 0.6654 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.4266, allocations: 0 / 0.6654 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.4266, allocations: 35.84 kB / 0.6655 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.4266, allocations: 7.938 kB / 0.6655 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000129/0.4268, allocations: 34.36 kB / 0.6655 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.4268, allocations: 55.34 kB / 0.6656 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.277e-05/0.4268, allocations: 91.33 kB / 0.6657 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-06/0.4268, allocations: 25.7 kB / 0.6657 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.07e-05/0.4269, allocations: 80.14 kB / 0.6658 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.4269, allocations: 1.656 kB / 0.6658 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.4269, allocations: 18.83 kB / 0.6658 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.427, allocations: 315 kB / 0.6661 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.427, allocations: 1.5 kB / 0.6661 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.427, allocations: 1.562 kB / 0.6661 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.427, allocations: 7.609 kB / 0.6661 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.427, allocations: 0 / 0.6661 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.076e-05/0.4271, allocations: 29.77 kB / 0.6661 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4271, allocations: 6.594 kB / 0.6661 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4271, allocations: 7.875 kB / 0.6661 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4271, allocations: 4.094 kB / 0.6661 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.4272, allocations: 1.406 kB / 0.6661 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4272, allocations: 5.266 kB / 0.6661 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.4272, allocations: 4 kB / 0.6661 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.4272, allocations: 0 / 0.6661 GB, free: 5.152 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 5.033e-05/0.4273, allocations: 108.6 kB / 0.6662 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.4273, allocations: 1.219 kB / 0.6662 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/0.4273, allocations: 7.062 kB / 0.6663 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4273, allocations: 1.031 kB / 0.6663 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4273, allocations: 4 kB / 0.6663 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4273, allocations: 1.125 kB / 0.6663 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.013e-05/0.4274, allocations: 151.9 kB / 0.6664 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4274, allocations: 1.375 kB / 0.6664 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.4274, allocations: 5.406 kB / 0.6664 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4274, allocations: 4 kB / 0.6664 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4274, allocations: 9.422 kB / 0.6664 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4274, allocations: 0 / 0.6664 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4274, allocations: 0 / 0.6664 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.63e-05/0.4275, allocations: 63.17 kB / 0.6665 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.4275, allocations: 81.09 kB / 0.6666 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.4275, allocations: 5.125 kB / 0.6666 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-06/0.4275, allocations: 0 / 0.6666 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.4275, allocations: 0.9688 kB / 0.6666 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.4275, allocations: 0 / 0.6666 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.26e-05/0.4276, allocations: 79.08 kB / 0.6666 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4276, allocations: 0 / 0.6666 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002102/0.4278, allocations: 9.312 kB / 0.6667 GB, free: 4.555 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.000202/0.428, allocations: 0.589 MB / 0.6672 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.4281, allocations: 11.69 kB / 0.6672 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4281, allocations: 0 / 0.6672 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.4281, allocations: 6.5 kB / 0.6672 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.4282, allocations: 1.094 kB / 0.6672 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.4285, allocations: 109.9 kB / 0.6674 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.554e-05/0.4286, allocations: 0.6761 MB / 0.668 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.165e-05/0.4286, allocations: 0 / 0.668 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.4286, allocations: 7.438 kB / 0.668 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4286, allocations: 0 / 0.668 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.4439, allocations: 0.8755 MB / 0.6689 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.847, allocations: 13.2 kB / 0.6689 GB, free: 2.539 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)