Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",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.007353/0.007352, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.001632/0.001632, allocations: 187 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7789/0.7789, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4315, allocations: 80.2 MB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002048/0.4336, allocations: 0.5719 MB / 0.6598 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000359/0.4339, allocations: 50.7 kB / 0.6598 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.434, allocations: 9.25 kB / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.434, allocations: 0 / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-06/0.434, allocations: 0 / 0.6598 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.4343, allocations: 11.73 kB / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.4344, allocations: 2.078 kB / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.4345, allocations: 2.078 kB / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.4345, allocations: 1.375 kB / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.927e-05/0.4345, allocations: 2.078 kB / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.4345, allocations: 0 / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.4347, allocations: 23.2 kB / 0.6599 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.4347, allocations: 1.375 kB / 0.6599 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.4347, allocations: 11.92 kB / 0.6599 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.4349, allocations: 15.8 kB / 0.6599 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4349, allocations: 0.6562 kB / 0.6599 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4349, allocations: 0 / 0.6599 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4349, allocations: 0 / 0.6599 GB, free: 9.473 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.0003212/0.4352, allocations: 317.8 kB / 0.6602 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.4353, allocations: 13.38 kB / 0.6602 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.4353, allocations: 35.5 kB / 0.6603 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.4356, allocations: 18.11 kB / 0.6603 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.4357, allocations: 166.7 kB / 0.6604 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4357, allocations: 0.9844 kB / 0.6604 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.4357, allocations: 384 / 0.6604 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.4359, allocations: 36 kB / 0.6605 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4359, allocations: 3.938 kB / 0.6605 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.4359, allocations: 0 / 0.6605 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4359, allocations: 4.75 kB / 0.6605 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.504e-05/0.436, allocations: 12.95 kB / 0.6605 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.4362, allocations: 148.8 kB / 0.6606 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.4363, allocations: 27.59 kB / 0.6607 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.4363, allocations: 10.39 kB / 0.6607 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.4364, allocations: 5.281 kB / 0.6607 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4364, allocations: 31.36 kB / 0.6607 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.4364, allocations: 0 / 0.6607 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002254/0.4366, allocations: 56.06 kB / 0.6608 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.4367, allocations: 51.41 kB / 0.6608 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.272e-05/0.4367, allocations: 90.47 kB / 0.6609 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.4367, allocations: 27.14 kB / 0.6609 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.418e-05/0.4367, allocations: 84.27 kB / 0.661 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4368, allocations: 0.75 kB / 0.661 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.4368, allocations: 13.28 kB / 0.661 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.4368, allocations: 311.5 kB / 0.6613 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.4369, allocations: 5.531 kB / 0.6613 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.4369, allocations: 4.688 kB / 0.6613 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.437, allocations: 23.92 kB / 0.6613 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.437, allocations: 0 / 0.6613 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.4372, allocations: 44.52 kB / 0.6614 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4372, allocations: 5.125 kB / 0.6614 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4372, allocations: 4.688 kB / 0.6614 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4372, allocations: 0 / 0.6614 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.4373, allocations: 5.047 kB / 0.6614 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4373, allocations: 0.6094 kB / 0.6614 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.4373, allocations: 6.156 kB / 0.6614 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4373, allocations: 1.984 kB / 0.6614 GB, free: 7.852 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.182e-05/0.4374, allocations: 107.6 kB / 0.6615 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.4374, allocations: 4.609 kB / 0.6615 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.4374, allocations: 16.16 kB / 0.6615 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4374, allocations: 0.75 kB / 0.6615 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4374, allocations: 1.375 kB / 0.6615 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4374, allocations: 3.938 kB / 0.6615 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.796e-05/0.4375, allocations: 149.2 kB / 0.6617 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4375, allocations: 0 / 0.6617 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.4375, allocations: 4.844 kB / 0.6617 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4376, allocations: 0 / 0.6617 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4376, allocations: 10.03 kB / 0.6617 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4376, allocations: 0 / 0.6617 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4376, allocations: 0.6094 kB / 0.6617 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.4377, allocations: 72.88 kB / 0.6618 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.4377, allocations: 81.31 kB / 0.6618 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.4377, allocations: 4.5 kB / 0.6618 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.4378, allocations: 3.25 kB / 0.6619 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.4378, allocations: 0.6562 kB / 0.6619 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.4378, allocations: 1.156 kB / 0.6619 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.201e-05/0.4378, allocations: 76.03 kB / 0.6619 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4378, allocations: 0 / 0.6619 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001972/0.438, allocations: 1.406 kB / 0.6619 GB, free: 7.266 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.0002779/0.4383, allocations: 0.6061 MB / 0.6625 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.4384, allocations: 12.58 kB / 0.6625 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4385, allocations: 8.094 kB / 0.6625 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.962e-05/0.4385, allocations: 5.938 kB / 0.6625 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.4386, allocations: 3.109 kB / 0.6625 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.4389, allocations: 123.7 kB / 0.6627 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.4391, allocations: 0.6713 MB / 0.6633 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.4391, allocations: 5.219 kB / 0.6633 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.4391, allocations: 9.297 kB / 0.6633 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4391, allocations: 0 / 0.6633 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.4566, allocations: 0.935 MB / 0.6642 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.775, allocations: 5.578 kB / 0.6643 GB, free: 5.469 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)