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.00532/0.00532, allocations: 101.1 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.001157/0.001157, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 67.89 kB / 0.5809 GB, free: 7.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5125, allocations: 80.21 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001888/0.5145, allocations: 0.5646 MB / 0.6598 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.5148, allocations: 51.2 kB / 0.6598 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.5148, allocations: 0 / 0.6598 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.5148, allocations: 0 / 0.6598 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.137e-06/0.5149, allocations: 3.938 kB / 0.6598 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.5151, allocations: 21.7 kB / 0.6599 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.5152, allocations: 1.375 kB / 0.6599 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.5153, allocations: 2.031 kB / 0.6599 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.5153, allocations: 0 / 0.6599 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.669e-05/0.5153, allocations: 1.891 kB / 0.6599 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.5153, allocations: 0 / 0.6599 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.5155, allocations: 20.91 kB / 0.6599 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.5155, allocations: 0 / 0.6599 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.5155, allocations: 0 / 0.6599 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.477e-05/0.5156, allocations: 24.09 kB / 0.6599 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5156, allocations: 4 kB / 0.6599 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.497e-06/0.5156, allocations: 0 / 0.6599 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5156, allocations: 5.312 kB / 0.6599 GB, free: 9.418 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.0002356/0.5159, allocations: 317 kB / 0.6602 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5159, allocations: 9.625 kB / 0.6602 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.516, allocations: 31.41 kB / 0.6603 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.5162, allocations: 22.61 kB / 0.6603 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.6e-05/0.5163, allocations: 161.8 kB / 0.6604 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5163, allocations: 5.75 kB / 0.6604 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.5163, allocations: 384 / 0.6604 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5165, allocations: 34.38 kB / 0.6605 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5165, allocations: 4.641 kB / 0.6605 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.5165, allocations: 1.375 kB / 0.6605 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5165, allocations: 3.984 kB / 0.6605 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.5166, allocations: 8.969 kB / 0.6605 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.5167, allocations: 161 kB / 0.6606 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.108e-05/0.5168, allocations: 23.58 kB / 0.6607 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.5169, allocations: 9.578 kB / 0.6607 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5169, allocations: 2.078 kB / 0.6607 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.5169, allocations: 30.56 kB / 0.6607 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5169, allocations: 1.375 kB / 0.6607 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002295/0.5171, allocations: 59.38 kB / 0.6608 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.5172, allocations: 52.06 kB / 0.6608 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.673e-05/0.5172, allocations: 89.86 kB / 0.6609 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.5172, allocations: 25.7 kB / 0.6609 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.5172, allocations: 82.17 kB / 0.661 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.5173, allocations: 0 / 0.661 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.5173, allocations: 13.22 kB / 0.661 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.5174, allocations: 315.7 kB / 0.6613 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.5174, allocations: 4.719 kB / 0.6613 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.5175, allocations: 6.234 kB / 0.6613 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.5176, allocations: 19.16 kB / 0.6613 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5176, allocations: 0 / 0.6613 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001132/0.5177, allocations: 48.44 kB / 0.6614 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5177, allocations: 4.688 kB / 0.6614 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5177, allocations: 5.312 kB / 0.6614 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5177, allocations: 0 / 0.6614 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.5178, allocations: 4.766 kB / 0.6614 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5178, allocations: 0 / 0.6614 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.5179, allocations: 2.875 kB / 0.6614 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.5179, allocations: 1.375 kB / 0.6614 GB, free: 7.801 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.542e-05/0.5179, allocations: 112.5 kB / 0.6615 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.518, allocations: 7.969 kB / 0.6615 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.518, allocations: 9.141 kB / 0.6615 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.518, allocations: 0 / 0.6615 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.518, allocations: 0.6094 kB / 0.6615 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.518, allocations: 1.375 kB / 0.6615 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.19e-05/0.5181, allocations: 149.1 kB / 0.6617 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5181, allocations: 0.6562 kB / 0.6617 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.5181, allocations: 4.062 kB / 0.6617 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.5181, allocations: 0 / 0.6617 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5182, allocations: 9.922 kB / 0.6617 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5182, allocations: 0 / 0.6617 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5182, allocations: 0.7031 kB / 0.6617 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.5183, allocations: 69.84 kB / 0.6618 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.5183, allocations: 80.06 kB / 0.6618 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.5184, allocations: 5.312 kB / 0.6618 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.5184, allocations: 2.734 kB / 0.6618 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.5184, allocations: 4.031 kB / 0.6618 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.5184, allocations: 6.078 kB / 0.6619 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.034e-05/0.5184, allocations: 75.28 kB / 0.6619 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5184, allocations: 0 / 0.6619 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001856/0.5186, allocations: 1.375 kB / 0.6619 GB, free: 7.215 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.000334/0.519, allocations: 0.6098 MB / 0.6625 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.5191, allocations: 12.47 kB / 0.6625 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5191, allocations: 4 kB / 0.6625 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.5192, allocations: 6.234 kB / 0.6625 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.5193, allocations: 4.438 kB / 0.6625 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.5197, allocations: 127.4 kB / 0.6627 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.5198, allocations: 0.6718 MB / 0.6633 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.5199, allocations: 1.375 kB / 0.6633 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.5199, allocations: 9.422 kB / 0.6633 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.5199, allocations: 0 / 0.6633 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.5359, allocations: 0.9419 MB / 0.6643 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.743, allocations: 7.219 kB / 0.6643 GB, free: 5.414 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)