Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.001023/0.001023, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001098/0.001098, allocations: 190.1 kB / 16.25 MB, free: 6.145 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7001/0.7001, allocations: 132.2 MB / 422.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 64.66 kB / 0.5014 GB, free: 8.926 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 80.2 MB / 0.5797 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001587/0.1291, allocations: 0.6777 MB / 0.5804 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005625/0.1297, allocations: 352.6 kB / 0.5807 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.1297, allocations: 0 / 0.5807 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1297, allocations: 0 / 0.5807 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.81e-05/0.1298, allocations: 3.938 kB / 0.5807 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1302, allocations: 107.7 kB / 0.5808 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.265e-05/0.1302, allocations: 23.98 kB / 0.5808 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.1303, allocations: 4 kB / 0.5808 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.1303, allocations: 11.98 kB / 0.5808 GB, free: 7.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.1303, allocations: 15.92 kB / 0.5809 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1304, allocations: 4 kB / 0.5809 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.1307, allocations: 267.6 kB / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1307, allocations: 11.94 kB / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.1307, allocations: 15.92 kB / 0.5811 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1309, allocations: 99.77 kB / 0.5812 GB, free: 7.363 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1309, allocations: 4 kB / 0.5812 GB, free: 7.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1309, allocations: 4 kB / 0.5812 GB, free: 7.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1309, allocations: 0 / 0.5812 GB, free: 7.355 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003522/0.1313, allocations: 355.7 kB / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1313, allocations: 12.03 kB / 0.5816 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.1313, allocations: 34.75 kB / 0.5816 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1314, allocations: 4.938 kB / 0.5816 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.1315, allocations: 164.3 kB / 0.5818 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.1315, allocations: 4.375 kB / 0.5818 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1315, allocations: 8.281 kB / 0.5818 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.1316, allocations: 54.23 kB / 0.5819 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1316, allocations: 3.938 kB / 0.5819 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1317, allocations: 4 kB / 0.5819 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1317, allocations: 4 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.1317, allocations: 11.98 kB / 0.5819 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1319, allocations: 161.7 kB / 0.582 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.192e-05/0.132, allocations: 70.47 kB / 0.5821 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.132, allocations: 28.86 kB / 0.5821 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/0.1326, allocations: 453.7 kB / 0.5826 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1326, allocations: 46.55 kB / 0.5826 GB, free: 5.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.1326, allocations: 0 / 0.5826 GB, free: 5.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001101/0.1338, allocations: 0.5907 MB / 0.5832 GB, free: 5.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1338, allocations: 51.41 kB / 0.5832 GB, free: 4.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.1339, allocations: 101.9 kB / 0.5833 GB, free: 4.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1339, allocations: 25.7 kB / 0.5833 GB, free: 4.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.1339, allocations: 84.08 kB / 0.5834 GB, free: 4.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.134, allocations: 51.34 kB / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.134, allocations: 29.7 kB / 0.5835 GB, free: 4.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.1341, allocations: 314.8 kB / 0.5838 GB, free: 4.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.1341, allocations: 23.98 kB / 0.5838 GB, free: 4.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.1342, allocations: 19.98 kB / 0.5838 GB, free: 4.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.1343, allocations: 60.36 kB / 0.5839 GB, free: 4.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1343, allocations: 4 kB / 0.5839 GB, free: 4.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001418/0.1344, allocations: 93.62 kB / 0.584 GB, free: 4.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1344, allocations: 10.33 kB / 0.584 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1345, allocations: 0 / 0.584 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1345, allocations: 4 kB / 0.584 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.1346, allocations: 23.94 kB / 0.584 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1346, allocations: 0 / 0.584 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.1346, allocations: 0 / 0.584 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1346, allocations: 7.984 kB / 0.584 GB, free: 4.082 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 (13): * Single equations (assignments): 13 * 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 7.143e-05/0.1347, allocations: 118.5 kB / 0.5842 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.1347, allocations: 11.84 kB / 0.5842 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.1349, allocations: 105.5 kB / 0.5843 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1349, allocations: 0 / 0.5843 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.135, allocations: 0 / 0.5843 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.135, allocations: 7.984 kB / 0.5843 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.1353, allocations: 342.5 kB / 0.5846 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1353, allocations: 0 / 0.5846 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1354, allocations: 31.94 kB / 0.5846 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1355, allocations: 0 / 0.5846 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1355, allocations: 0 / 0.5846 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1355, allocations: 0 / 0.5846 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1355, allocations: 11.98 kB / 0.5846 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1357, allocations: 215.3 kB / 0.5848 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1358, allocations: 85.31 kB / 0.5849 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1358, allocations: 4 kB / 0.5849 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.1359, allocations: 12.05 kB / 0.5849 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.1359, allocations: 8.078 kB / 0.585 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1359, allocations: 11.88 kB / 0.585 GB, free: 3.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.136, allocations: 79.28 kB / 0.585 GB, free: 2.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.136, allocations: 0 / 0.585 GB, free: 2.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1362, allocations: 43.98 kB / 0.5851 GB, free: 2.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0005868/0.1368, allocations: 0.798 MB / 0.5859 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.137, allocations: 63.91 kB / 0.5859 GB, free: 2.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.137, allocations: 0 / 0.5859 GB, free: 2.023 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.137, allocations: 39.86 kB / 0.586 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1373, allocations: 9.547 kB / 0.586 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1384, allocations: 1.403 MB / 0.5873 GB, free: 0.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1386, allocations: 0.6885 MB / 0.588 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.1387, allocations: 11.98 kB / 0.588 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.1387, allocations: 15.44 kB / 0.588 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1387, allocations: 0 / 0.588 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09848/0.2372, allocations: 2.361 MB / 0.5903 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.2374, allocations: 217 kB / 0.5906 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.172, allocations: 0 / 0.5906 GB, free: 13.32 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)