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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9074/0.9074, allocations: 135.1 MB / 425.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 69.02 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1422, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001745/0.144, allocations: 0.5683 MB / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.1442, allocations: 51.84 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.1442, allocations: 0 / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.608e-06/0.1443, allocations: 3.938 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.048e-06/0.1443, allocations: 0 / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1445, allocations: 15.92 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.386e-05/0.1445, allocations: 4 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.1446, allocations: 7.984 kB / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.093e-05/0.1446, allocations: 0 / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.808e-05/0.1446, allocations: 0 / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1446, allocations: 0 / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.1447, allocations: 27.97 kB / 0.5851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.1447, allocations: 0 / 0.5851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.1448, allocations: 3.938 kB / 0.5851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.666e-05/0.1448, allocations: 19.98 kB / 0.5852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1448, allocations: 0 / 0.5852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1449, allocations: 0 / 0.5852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1449, allocations: 0 / 0.5852 GB, free: 3.754 MB / 494.1 MB 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.0002453/0.1451, allocations: 311.6 kB / 0.5855 GB, free: 3.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1452, allocations: 12.02 kB / 0.5855 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.1452, allocations: 30.75 kB / 0.5855 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.1454, allocations: 24.91 kB / 0.5855 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.1455, allocations: 164.3 kB / 0.5857 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1455, allocations: 384 / 0.5857 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1456, allocations: 384 / 0.5857 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1457, allocations: 34.25 kB / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1457, allocations: 3.938 kB / 0.5857 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1457, allocations: 4 kB / 0.5857 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1457, allocations: 4 kB / 0.5857 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.968e-05/0.1458, allocations: 11.98 kB / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.146, allocations: 153.7 kB / 0.5859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.146, allocations: 22.55 kB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1461, allocations: 12.91 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1461, allocations: 0 / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1461, allocations: 34.56 kB / 0.586 GB, free: 2.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1461, allocations: 0 / 0.586 GB, free: 2.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002182/0.1464, allocations: 53.61 kB / 0.586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.1464, allocations: 51.41 kB / 0.5861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.629e-05/0.1464, allocations: 93.8 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1465, allocations: 25.7 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.1465, allocations: 88.27 kB / 0.5863 GB, free: 2.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1465, allocations: 7.844 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1466, allocations: 9.719 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.1466, allocations: 310.8 kB / 0.5866 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.1467, allocations: 7.984 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.04e-05/0.1468, allocations: 7.938 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.578e-05/0.1469, allocations: 24.91 kB / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1469, allocations: 0 / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001219/0.147, allocations: 37.69 kB / 0.5866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.147, allocations: 6.344 kB / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.147, allocations: 3.938 kB / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.147, allocations: 7.984 kB / 0.5867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1471, allocations: 3.938 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1471, allocations: 0 / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.1472, allocations: 8.031 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1472, allocations: 0 / 0.5867 GB, free: 1.98 MB / 494.1 MB 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.693e-05/0.1472, allocations: 109.8 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.1472, allocations: 0 / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.1473, allocations: 7.062 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1473, allocations: 7.984 kB / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1473, allocations: 0 / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1473, allocations: 0 / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.477e-05/0.1474, allocations: 145.7 kB / 0.5869 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1474, allocations: 4 kB / 0.5869 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.1474, allocations: 7.984 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1474, allocations: 0 / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1475, allocations: 3.938 kB / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1475, allocations: 0 / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1475, allocations: 3.984 kB / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1476, allocations: 77.05 kB / 0.587 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.1477, allocations: 77.39 kB / 0.5871 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1477, allocations: 3.938 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.1477, allocations: 8 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.1477, allocations: 0 / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1478, allocations: 0 / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.497e-05/0.1478, allocations: 75.28 kB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.1478, allocations: 0 / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001777/0.148, allocations: 3.938 kB / 0.5872 GB, free: 1.359 MB / 494.1 MB 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.0003707/0.1483, allocations: 0.6076 MB / 0.5878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1485, allocations: 15.92 kB / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1485, allocations: 0 / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.1485, allocations: 12.08 kB / 0.5878 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1487, allocations: 7.938 kB / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.149, allocations: 118.6 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.1492, allocations: 0.6728 MB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.1493, allocations: 4.062 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.1493, allocations: 15.42 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1493, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.1646, allocations: 0.8974 MB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.88, allocations: 10.42 kB / 0.5895 GB, free: 14.98 MB / 0.4981 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/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)