Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005331/0.005331, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8653/0.8653, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009244, allocations: 95.84 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000516/0.000516, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5188, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.7193, allocations: 110.6 MB / 0.7575 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.7196, allocations: 75.95 kB / 0.7576 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001814/0.7215, allocations: 0.5458 MB / 0.7581 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.765e-06/0.7215, allocations: 0 / 0.7581 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7215, allocations: 0 / 0.7581 GB, free: 4.777 MB / 0.5261 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.0003118/0.7218, allocations: 319.4 kB / 0.7584 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.7219, allocations: 8.031 kB / 0.7584 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.722, allocations: 38.56 kB / 0.7585 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.7222, allocations: 11.97 kB / 0.7585 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7223, allocations: 167 kB / 0.7587 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7223, allocations: 4 kB / 0.7587 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.7224, allocations: 0 / 0.7587 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.7225, allocations: 33.69 kB / 0.7587 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7226, allocations: 0 / 0.7587 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.7226, allocations: 0 / 0.7587 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7226, allocations: 7.984 kB / 0.7587 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.7227, allocations: 11.92 kB / 0.7587 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.7229, allocations: 157.6 kB / 0.7589 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.723, allocations: 22.06 kB / 0.7589 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.723, allocations: 0 / 0.7589 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.7231, allocations: 34.55 kB / 0.7589 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7231, allocations: 7.938 kB / 0.7589 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002879/0.7234, allocations: 49.69 kB / 0.759 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.7235, allocations: 51.41 kB / 0.759 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.707e-05/0.7235, allocations: 85 kB / 0.7591 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.7235, allocations: 25.7 kB / 0.7591 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.7236, allocations: 80.14 kB / 0.7592 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.7236, allocations: 7.906 kB / 0.7592 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.7236, allocations: 4.125 kB / 0.7592 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7238, allocations: 318.8 kB / 0.7595 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.7239, allocations: 4 kB / 0.7595 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.7239, allocations: 3.984 kB / 0.7595 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.724, allocations: 4 kB / 0.7595 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.724, allocations: 0 / 0.7595 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001838/0.7242, allocations: 57.64 kB / 0.7596 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7243, allocations: 4 kB / 0.7596 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7243, allocations: 0 / 0.7596 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7243, allocations: 3.984 kB / 0.7596 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.7244, allocations: 4 kB / 0.7596 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7244, allocations: 0 / 0.7596 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.7245, allocations: 0 / 0.7596 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.7245, allocations: 0 / 0.7596 GB, free: 3.066 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.7246, allocations: 113.9 kB / 0.7597 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.7246, allocations: 7.938 kB / 0.7597 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.7247, allocations: 3.125 kB / 0.7597 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.7247, allocations: 0 / 0.7597 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7247, allocations: 0 / 0.7597 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7247, allocations: 0 / 0.7597 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.7248, allocations: 149.7 kB / 0.7599 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7248, allocations: 0 / 0.7599 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.7249, allocations: 3.984 kB / 0.7599 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.7249, allocations: 7.953 kB / 0.7599 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.7249, allocations: 4 kB / 0.7599 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.725, allocations: 0 / 0.7599 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.725, allocations: 0 / 0.7599 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.7252, allocations: 65.05 kB / 0.7599 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.7252, allocations: 81.11 kB / 0.76 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.7253, allocations: 3.953 kB / 0.76 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.7253, allocations: 8.031 kB / 0.76 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.7253, allocations: 0 / 0.76 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.7254, allocations: 4 kB / 0.76 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.7254, allocations: 75.28 kB / 0.7601 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7254, allocations: 0 / 0.7601 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002982/0.7257, allocations: 3.938 kB / 0.7601 GB, free: 2.449 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005952/0.7263, allocations: 0.6008 MB / 0.7607 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.7266, allocations: 19.86 kB / 0.7607 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7266, allocations: 0 / 0.7607 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.7267, allocations: 7.984 kB / 0.7607 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.7268, allocations: 3.953 kB / 0.7607 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.7273, allocations: 112.6 kB / 0.7608 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.7276, allocations: 0.677 MB / 0.7615 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.7277, allocations: 0 / 0.7615 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.7277, allocations: 7.438 kB / 0.7615 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.7277, allocations: 4 kB / 0.7615 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.7417, allocations: 0.7376 MB / 0.7622 GB, free: 296 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/0.7421, allocations: 175.6 kB / 0.7624 GB, free: 48 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/2.18, allocations: 0 / 0.7624 GB, free: 48 kB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)