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.005197/0.005197, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001309/0.001309, allocations: 195.2 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8329/0.8329, allocations: 132.2 MB / 422.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.34 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1323, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001583/0.1339, allocations: 0.6042 MB / 0.6598 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000668/0.1346, allocations: 353.6 kB / 0.6602 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.1347, allocations: 0 / 0.6602 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.1347, allocations: 3.938 kB / 0.6602 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.462e-05/0.1347, allocations: 4 kB / 0.6602 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.1352, allocations: 126.1 kB / 0.6603 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.676e-05/0.1352, allocations: 19.98 kB / 0.6603 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.1353, allocations: 4 kB / 0.6603 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.1353, allocations: 11.92 kB / 0.6603 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.1354, allocations: 19.91 kB / 0.6603 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1354, allocations: 0 / 0.6603 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.1358, allocations: 275.7 kB / 0.6606 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1358, allocations: 4 kB / 0.6606 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1358, allocations: 15.92 kB / 0.6606 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.136, allocations: 99.92 kB / 0.6607 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.136, allocations: 0 / 0.6607 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.136, allocations: 0 / 0.6607 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1361, allocations: 4 kB / 0.6607 GB, free: 9.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004373/0.1365, allocations: 365.2 kB / 0.6611 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1365, allocations: 8.031 kB / 0.6611 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.1366, allocations: 38.75 kB / 0.6611 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.1367, allocations: 16.88 kB / 0.6611 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1368, allocations: 164.3 kB / 0.6613 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1368, allocations: 384 / 0.6613 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1368, allocations: 16.25 kB / 0.6613 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1369, allocations: 50.25 kB / 0.6614 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.137, allocations: 3.938 kB / 0.6614 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.137, allocations: 0 / 0.6614 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.137, allocations: 0 / 0.6614 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.137, allocations: 19.98 kB / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1372, allocations: 169.7 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1373, allocations: 62.48 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.1374, allocations: 28.86 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/0.1381, allocations: 457.5 kB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1382, allocations: 34.56 kB / 0.6621 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1382, allocations: 0 / 0.6621 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001287/0.1395, allocations: 0.5926 MB / 0.6627 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1395, allocations: 55.41 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.1396, allocations: 97.84 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1396, allocations: 33.64 kB / 0.6629 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.1397, allocations: 84.12 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1397, allocations: 31.7 kB / 0.663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.1398, allocations: 33.7 kB / 0.663 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1399, allocations: 318.8 kB / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.14, allocations: 19.98 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.14, allocations: 27.98 kB / 0.6634 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.1401, allocations: 55.98 kB / 0.6634 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1401, allocations: 0 / 0.6634 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001684/0.1403, allocations: 105.6 kB / 0.6635 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1403, allocations: 4 kB / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1403, allocations: 96 / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1403, allocations: 3.938 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1404, allocations: 23.94 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1405, allocations: 4 kB / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.1405, allocations: 4 kB / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1405, allocations: 7.984 kB / 0.6636 GB, free: 6.023 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 (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 9.433e-05/0.1406, allocations: 114.7 kB / 0.6637 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1406, allocations: 7.891 kB / 0.6637 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.1408, allocations: 111.6 kB / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1409, allocations: 0 / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1409, allocations: 0 / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.1409, allocations: 7.984 kB / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.1413, allocations: 354.5 kB / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1413, allocations: 0 / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1414, allocations: 23.94 kB / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1414, allocations: 0 / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1415, allocations: 4 kB / 0.6641 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1415, allocations: 3.984 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1415, allocations: 0 / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1418, allocations: 219.4 kB / 0.6644 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.1418, allocations: 85.12 kB / 0.6644 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1418, allocations: 0 / 0.6644 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.1419, allocations: 8 kB / 0.6644 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.142, allocations: 11.92 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.142, allocations: 3.938 kB / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.142, allocations: 79.28 kB / 0.6645 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.142, allocations: 0 / 0.6645 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002791/0.1423, allocations: 47.86 kB / 0.6646 GB, free: 4.848 MB / 0.4981 GB 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.000683/0.143, allocations: 0.7891 MB / 0.6654 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1432, allocations: 67.86 kB / 0.6654 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1432, allocations: 0 / 0.6654 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.1432, allocations: 35.92 kB / 0.6655 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1435, allocations: 4 kB / 0.6655 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1448, allocations: 1.398 MB / 0.6668 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1451, allocations: 0.6885 MB / 0.6675 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.1451, allocations: 8 kB / 0.6675 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.1452, allocations: 19.42 kB / 0.6675 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1452, allocations: 4 kB / 0.6675 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.1685, allocations: 2.463 MB / 0.6699 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.562, allocations: 7.984 kB / 0.6699 GB, free: 15.39 MB / 0.5137 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)