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.008295/0.008295, allocations: 107.4 kB / 15.74 MB, free: 6.02 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.002184/0.002184, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8437/0.8437, allocations: 135.6 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 73.09 kB / 0.5858 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1517, allocations: 81.03 MB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001605/0.1534, allocations: 0.5682 MB / 0.6655 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.1536, allocations: 54.38 kB / 0.6655 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.1537, allocations: 0 / 0.6655 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1537, allocations: 0 / 0.6655 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.1537, allocations: 3.938 kB / 0.6655 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1539, allocations: 19.98 kB / 0.6655 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.957e-05/0.154, allocations: 0 / 0.6655 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.154, allocations: 3.984 kB / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.1541, allocations: 7.938 kB / 0.6655 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.928e-05/0.1541, allocations: 0 / 0.6655 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1541, allocations: 0 / 0.6655 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1542, allocations: 19.97 kB / 0.6656 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.1542, allocations: 11.92 kB / 0.6656 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.1542, allocations: 0 / 0.6656 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.833e-05/0.1543, allocations: 11.98 kB / 0.6656 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1543, allocations: 0 / 0.6656 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1543, allocations: 4 kB / 0.6656 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1544, allocations: 4 kB / 0.6656 GB, free: 4.898 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.0002979/0.1547, allocations: 311.8 kB / 0.6659 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1547, allocations: 13.14 kB / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.1547, allocations: 30.75 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.155, allocations: 20.91 kB / 0.666 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1551, allocations: 160.4 kB / 0.6661 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1551, allocations: 384 / 0.6661 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1551, allocations: 8.375 kB / 0.6661 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1553, allocations: 34.25 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1553, allocations: 3.938 kB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1553, allocations: 0 / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1553, allocations: 0 / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.1554, allocations: 11.92 kB / 0.6662 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1556, allocations: 149.7 kB / 0.6663 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.1557, allocations: 30.86 kB / 0.6663 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.1557, allocations: 8.844 kB / 0.6663 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1558, allocations: 64 / 0.6663 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1558, allocations: 34.56 kB / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1558, allocations: 0 / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002402/0.156, allocations: 57.55 kB / 0.6664 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1561, allocations: 51.41 kB / 0.6665 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.619e-05/0.1561, allocations: 93.86 kB / 0.6666 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1562, allocations: 25.7 kB / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1562, allocations: 80.14 kB / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.1562, allocations: 0 / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1563, allocations: 17.72 kB / 0.6667 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1564, allocations: 311 kB / 0.667 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.1565, allocations: 11.98 kB / 0.667 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.1565, allocations: 0 / 0.667 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.1566, allocations: 20.78 kB / 0.667 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1566, allocations: 0 / 0.667 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001339/0.1568, allocations: 53.56 kB / 0.6671 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1568, allocations: 13.81 kB / 0.6671 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1568, allocations: 3.938 kB / 0.6671 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1568, allocations: 0 / 0.6671 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.1569, allocations: 4 kB / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1569, allocations: 0 / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.1569, allocations: 0 / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.157, allocations: 0 / 0.6671 GB, free: 3.137 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 8.287e-05/0.157, allocations: 113.8 kB / 0.6672 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.1571, allocations: 0 / 0.6672 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.1571, allocations: 11.06 kB / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1571, allocations: 0 / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1571, allocations: 0 / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1571, allocations: 0 / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1572, allocations: 153.7 kB / 0.6674 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1572, allocations: 4 kB / 0.6674 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.1573, allocations: 0 / 0.6674 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1573, allocations: 0 / 0.6674 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1573, allocations: 7.938 kB / 0.6674 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1573, allocations: 3.938 kB / 0.6674 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1573, allocations: 4 kB / 0.6674 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1575, allocations: 65.05 kB / 0.6674 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.1575, allocations: 81.11 kB / 0.6675 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1575, allocations: 3.938 kB / 0.6675 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.1576, allocations: 4 kB / 0.6675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-06/0.1576, allocations: 0 / 0.6675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.1576, allocations: 4.031 kB / 0.6675 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.1576, allocations: 75.28 kB / 0.6676 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1577, allocations: 4 kB / 0.6676 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001773/0.1578, allocations: 0 / 0.6676 GB, free: 2.512 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.000468/0.1583, allocations: 0.6085 MB / 0.6682 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1585, allocations: 11.98 kB / 0.6682 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1585, allocations: 0 / 0.6682 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/0.1585, allocations: 7.984 kB / 0.6682 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1587, allocations: 0 / 0.6682 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.159, allocations: 118.7 kB / 0.6683 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1593, allocations: 0.6768 MB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.1593, allocations: 3.938 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.1594, allocations: 11.42 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1594, allocations: 0 / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.1799, allocations: 0.9405 MB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.707, allocations: 0.5938 kB / 0.6699 GB, free: 108 kB / 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)