Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0007755/0.0007755, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004447/0.004447, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8941/0.8941, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 12 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 82.31 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006164/0.1361, allocations: 325.5 kB / 0.5884 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006181/0.1367, allocations: 356.7 kB / 0.5887 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.1367, allocations: 0 / 0.5887 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.1368, allocations: 0 / 0.5887 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.554e-05/0.1368, allocations: 0 / 0.5887 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1371, allocations: 79.8 kB / 0.5888 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.642e-05/0.1371, allocations: 15.97 kB / 0.5888 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1372, allocations: 0 / 0.5888 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.1372, allocations: 7.938 kB / 0.5888 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.1373, allocations: 4 kB / 0.5888 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1373, allocations: 4 kB / 0.5888 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.1376, allocations: 267.6 kB / 0.5891 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.1376, allocations: 0 / 0.5891 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.1377, allocations: 37.64 kB / 0.5891 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1378, allocations: 95.83 kB / 0.5892 GB, free: 1.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1378, allocations: 0 / 0.5892 GB, free: 1.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1378, allocations: 4 kB / 0.5892 GB, free: 1.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1378, allocations: 0 / 0.5892 GB, free: 1.324 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003025/0.1382, allocations: 331.6 kB / 0.5895 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1382, allocations: 12.03 kB / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.1382, allocations: 30.75 kB / 0.5896 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.1383, allocations: 4.844 kB / 0.5896 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1384, allocations: 164.4 kB / 0.5898 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1384, allocations: 12.25 kB / 0.5898 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1384, allocations: 384 / 0.5898 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/0.1385, allocations: 38.25 kB / 0.5898 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1385, allocations: 3.938 kB / 0.5898 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1385, allocations: 0 / 0.5898 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1386, allocations: 0 / 0.5898 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.1386, allocations: 7.938 kB / 0.5898 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.1387, allocations: 154 kB / 0.59 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/0.1388, allocations: 30.5 kB / 0.59 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.1388, allocations: 8.859 kB / 0.59 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.1394, allocations: 461.5 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1394, allocations: 34.56 kB / 0.5905 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1394, allocations: 0 / 0.5905 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004071/0.1399, allocations: 258.2 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1399, allocations: 55.41 kB / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.1399, allocations: 89.86 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.14, allocations: 30.05 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.14, allocations: 88.14 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.14, allocations: 7.891 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.14, allocations: 9.719 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.1401, allocations: 318.8 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.1402, allocations: 0 / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.1402, allocations: 25.7 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.1402, allocations: 29.66 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.1402, allocations: 0 / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.829e-05/0.1403, allocations: 53.62 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1403, allocations: 7.938 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1404, allocations: 4 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.1404, allocations: 0 / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.73e-05/0.1404, allocations: 4 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1404, allocations: 0 / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1405, allocations: 4 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1405, allocations: 4.062 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.902e-05/0.1405, allocations: 113.8 kB / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1406, allocations: 7.875 kB / 0.5915 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1407, allocations: 61.02 kB / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1407, allocations: 0 / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1407, allocations: 0 / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1407, allocations: 0 / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.315e-05/0.1408, allocations: 157.7 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1408, allocations: 4 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.1409, allocations: 12 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1409, allocations: 3.938 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.1409, allocations: 0 / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1409, allocations: 0 / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1409, allocations: 3.984 kB / 0.5918 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.141, allocations: 73.12 kB / 0.5918 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.141, allocations: 85.08 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.1411, allocations: 8 kB / 0.5919 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.1411, allocations: 0 / 0.5919 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.1411, allocations: 11.92 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1411, allocations: 0 / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.1412, allocations: 79.28 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1412, allocations: 0 / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002004/0.1414, allocations: 20 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004127/0.1418, allocations: 0.6363 MB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.731e-05/0.1419, allocations: 27.91 kB / 0.5927 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1419, allocations: 0 / 0.5927 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.1419, allocations: 4 kB / 0.5927 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.142, allocations: 7.656 kB / 0.5927 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.1428, allocations: 1.145 MB / 0.5938 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.143, allocations: 0.677 MB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.1431, allocations: 7.984 kB / 0.5945 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1431, allocations: 7.438 kB / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1431, allocations: 0 / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.662/1.805, allocations: 1.522 MB / 0.596 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/1.806, allocations: 218.7 kB / 0.5962 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/3.321, allocations: 0 / 0.5962 GB, free: 9.738 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)