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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007697/0.0007697, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008723/0.0008723, allocations: 217.7 kB / 22.26 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8547/0.8547, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009342/0.0009342, allocations: 66.31 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.559, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001415/0.5604, allocations: 0.6058 MB / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005263/0.5609, allocations: 347.3 kB / 0.8188 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.5609, allocations: 0 / 0.8188 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.561, allocations: 0 / 0.8188 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.759e-05/0.561, allocations: 0 / 0.8188 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.5615, allocations: 131.9 kB / 0.819 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.5615, allocations: 6.875 kB / 0.819 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.5616, allocations: 3.75 kB / 0.819 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.5616, allocations: 6.578 kB / 0.819 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.5617, allocations: 5.859 kB / 0.819 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.5617, allocations: 2.562 kB / 0.819 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.562, allocations: 273.2 kB / 0.8192 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.562, allocations: 4.922 kB / 0.8192 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.562, allocations: 6.281 kB / 0.8193 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.5622, allocations: 87.47 kB / 0.8193 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5622, allocations: 4 kB / 0.8193 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5622, allocations: 4.266 kB / 0.8193 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.5622, allocations: 0 / 0.8193 GB, free: 0.5039 MB / 0.6042 GB 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.0002715/0.5625, allocations: 270.7 kB / 0.8196 GB, free: 228 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5625, allocations: 7.828 kB / 0.8196 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.5625, allocations: 35.36 kB / 0.8196 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.5626, allocations: 4.406 kB / 0.8196 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.625e-05/0.5626, allocations: 103.3 kB / 0.8197 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.5626, allocations: 8.25 kB / 0.8198 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.5627, allocations: 8.969 kB / 0.8198 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.077e-05/0.5627, allocations: 30.91 kB / 0.8198 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5627, allocations: 3.938 kB / 0.8198 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.5628, allocations: 4.656 kB / 0.8198 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5628, allocations: 2.375 kB / 0.8198 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.5628, allocations: 3.016 kB / 0.8198 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.5629, allocations: 123.5 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.808e-05/0.563, allocations: 26.7 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.563, allocations: 9.219 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/0.5634, allocations: 77.03 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.5634, allocations: 37.39 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.5634, allocations: 0 / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004643/0.5639, allocations: 181.5 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.5639, allocations: 56.75 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.564, allocations: 98.25 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.564, allocations: 30.05 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.564, allocations: 81.81 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.564, allocations: 13.67 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.5641, allocations: 14.44 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004093/0.5645, allocations: 319.8 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.5645, allocations: 4.078 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.5645, allocations: 14.28 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.5646, allocations: 36.92 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5646, allocations: 0 / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.559e-05/0.5646, allocations: 51.27 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5647, allocations: 9.812 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.5647, allocations: 0.6094 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5647, allocations: 1.516 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.5647, allocations: 9.625 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5647, allocations: 0 / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.5647, allocations: 8.047 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5648, allocations: 1.984 kB / 0.821 GB, free: 14.86 MB / 0.6198 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.302e-05/0.5648, allocations: 107.6 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.5648, allocations: 7.375 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.5649, allocations: 70.08 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.5649, allocations: 0 / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.5649, allocations: 2.188 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5649, allocations: 4 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.851e-05/0.565, allocations: 124.7 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.565, allocations: 0.6562 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.5651, allocations: 5.312 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5651, allocations: 3.938 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5651, allocations: 2.266 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.5651, allocations: 0 / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5651, allocations: 0.6094 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.5652, allocations: 79.81 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.5652, allocations: 9.797 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.5652, allocations: 2.281 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.5653, allocations: 0.6562 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.5653, allocations: 7.375 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.5653, allocations: 3.75 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.5653, allocations: 75.94 kB / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5653, allocations: 0 / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001574/0.5655, allocations: 29 kB / 0.8215 GB, free: 14.35 MB / 0.6198 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.0003763/0.5658, allocations: 0.6359 MB / 0.8221 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.5659, allocations: 21.23 kB / 0.8221 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5659, allocations: 0 / 0.8221 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.5659, allocations: 6.156 kB / 0.8221 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.566, allocations: 4.938 kB / 0.8221 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.5668, allocations: 1.137 MB / 0.8232 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.567, allocations: 0.6784 MB / 0.8239 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.567, allocations: 0.7031 kB / 0.8239 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.567, allocations: 11.48 kB / 0.8239 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.567, allocations: 0 / 0.8239 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.584, allocations: 1.849 MB / 0.8257 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.584/7.168, allocations: 9 kB / 0.8257 GB, free: 11.46 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.380657027941197] Failed to read output from testmodel.py, exit status != 0: 7.243306217947975 7.254104141 6.689968722 Calling exit ...