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.001213/0.001213, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001044/0.001044, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.746/0.746, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.38 kB / 0.5014 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 80.2 MB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001595/0.1306, allocations: 0.6462 MB / 0.5803 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.1308, allocations: 47.84 kB / 0.5804 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.1308, allocations: 4 kB / 0.5804 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.1309, allocations: 0 / 0.5804 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.088e-06/0.1309, allocations: 0 / 0.5804 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1311, allocations: 11.94 kB / 0.5804 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.844e-05/0.1311, allocations: 4 kB / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1311, allocations: 7.969 kB / 0.5804 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.021e-05/0.1312, allocations: 0 / 0.5804 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.559e-05/0.1312, allocations: 0 / 0.5804 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.1312, allocations: 0 / 0.5804 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.1313, allocations: 19.98 kB / 0.5804 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-06/0.1313, allocations: 4 kB / 0.5804 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.1313, allocations: 3.938 kB / 0.5804 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.424e-05/0.1314, allocations: 15.98 kB / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1314, allocations: 0 / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1314, allocations: 0 / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1314, allocations: 3.984 kB / 0.5804 GB, free: 8.246 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.0002347/0.1316, allocations: 315.6 kB / 0.5807 GB, free: 7.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1317, allocations: 8.031 kB / 0.5807 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.533e-05/0.1317, allocations: 30.75 kB / 0.5808 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.1319, allocations: 24.91 kB / 0.5808 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.132, allocations: 164.4 kB / 0.581 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.132, allocations: 384 / 0.581 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1321, allocations: 4.359 kB / 0.581 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1322, allocations: 38.19 kB / 0.581 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1322, allocations: 3.938 kB / 0.581 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.1322, allocations: 0 / 0.581 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1322, allocations: 0 / 0.581 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.1323, allocations: 15.98 kB / 0.581 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.1324, allocations: 149.7 kB / 0.5812 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.523e-05/0.1325, allocations: 22.59 kB / 0.5812 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.1326, allocations: 8.922 kB / 0.5812 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1326, allocations: 0 / 0.5812 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1326, allocations: 42.5 kB / 0.5812 GB, free: 7.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1326, allocations: 3.938 kB / 0.5812 GB, free: 7.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002034/0.1328, allocations: 53.61 kB / 0.5813 GB, free: 7.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.1329, allocations: 51.41 kB / 0.5813 GB, free: 7.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.64e-05/0.1329, allocations: 89.86 kB / 0.5814 GB, free: 7.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1329, allocations: 25.7 kB / 0.5814 GB, free: 7.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.1329, allocations: 80.14 kB / 0.5815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.133, allocations: 15.97 kB / 0.5815 GB, free: 6.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.133, allocations: 13.7 kB / 0.5815 GB, free: 6.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.1331, allocations: 310.8 kB / 0.5818 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.1332, allocations: 4 kB / 0.5818 GB, free: 6.574 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.1332, allocations: 7.984 kB / 0.5819 GB, free: 6.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.1333, allocations: 20.78 kB / 0.5819 GB, free: 6.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1333, allocations: 8.062 kB / 0.5819 GB, free: 6.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/0.1334, allocations: 37.69 kB / 0.5819 GB, free: 6.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1334, allocations: 6.031 kB / 0.5819 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1334, allocations: 3.938 kB / 0.5819 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1335, allocations: 0 / 0.5819 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.1335, allocations: 7.984 kB / 0.5819 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1335, allocations: 0 / 0.5819 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.1336, allocations: 4 kB / 0.5819 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1336, allocations: 4.031 kB / 0.5819 GB, free: 6.469 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 6.102e-05/0.1336, allocations: 106.5 kB / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.1337, allocations: 0 / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.1337, allocations: 7.062 kB / 0.5821 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1337, allocations: 0 / 0.5821 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1337, allocations: 4 kB / 0.5821 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1337, allocations: 3.984 kB / 0.5821 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.443e-05/0.1338, allocations: 145.7 kB / 0.5822 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1338, allocations: 3.938 kB / 0.5822 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.1339, allocations: 11.98 kB / 0.5822 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1339, allocations: 0 / 0.5822 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1339, allocations: 7.938 kB / 0.5822 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1339, allocations: 0 / 0.5822 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1339, allocations: 0 / 0.5822 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.134, allocations: 65.12 kB / 0.5823 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.1341, allocations: 77.42 kB / 0.5824 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1341, allocations: 11.92 kB / 0.5824 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/0.1341, allocations: 0 / 0.5824 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.1341, allocations: 4 kB / 0.5824 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1341, allocations: 0 / 0.5824 GB, free: 5.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.292e-05/0.1342, allocations: 77.05 kB / 0.5824 GB, free: 5.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1342, allocations: 0 / 0.5824 GB, free: 5.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001668/0.1343, allocations: 7.875 kB / 0.5825 GB, free: 5.848 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.000372/0.1347, allocations: 0.6085 MB / 0.583 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1349, allocations: 11.98 kB / 0.5831 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1349, allocations: 0 / 0.5831 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.1349, allocations: 8.094 kB / 0.5831 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.135, allocations: 7.922 kB / 0.5831 GB, free: 5.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.1353, allocations: 122.5 kB / 0.5832 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1356, allocations: 0.669 MB / 0.5838 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.713e-05/0.1356, allocations: 8.047 kB / 0.5839 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.1356, allocations: 7.438 kB / 0.5839 GB, free: 4.316 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1356, allocations: 0 / 0.5839 GB, free: 4.316 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/0.3277, allocations: 0.8351 MB / 0.5847 GB, free: 3.605 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.3279, allocations: 190.8 kB / 0.5849 GB, free: 3.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.996, allocations: 0 / 0.5849 GB, free: 3.348 MB / 494.1 MB (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)