Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001145/0.001145, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001081/0.001081, allocations: 216 kB / 22.25 MB, free: 3.73 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 0.9591/0.9591, allocations: 230.6 MB / 256 MB, free: 9.641 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.7834/0.7834, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.001047/0.001047, allocations: 66.91 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5095, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00142/0.5109, allocations: 0.6238 MB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005501/0.5115, allocations: 322.1 kB / 0.8188 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.5115, allocations: 0 / 0.8188 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.5115, allocations: 3.938 kB / 0.8188 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.5115, allocations: 2.5 kB / 0.8188 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.512, allocations: 127.5 kB / 0.8189 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.512, allocations: 22.78 kB / 0.8189 GB, free: 396 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.5121, allocations: 5.641 kB / 0.8189 GB, free: 396 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.5121, allocations: 10.94 kB / 0.8189 GB, free: 392 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.5122, allocations: 14.7 kB / 0.8189 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.5122, allocations: 2.844 kB / 0.8189 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.5125, allocations: 257 kB / 0.8192 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.5125, allocations: 7.594 kB / 0.8192 GB, free: 328 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.5125, allocations: 7.859 kB / 0.8192 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.5127, allocations: 103.7 kB / 0.8193 GB, free: 292 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5127, allocations: 4 kB / 0.8193 GB, free: 288 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5127, allocations: 0.9844 kB / 0.8193 GB, free: 288 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5127, allocations: 2.469 kB / 0.8193 GB, free: 288 kB / 0.6042 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.0003205/0.513, allocations: 288.1 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.513, allocations: 7.656 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.5131, allocations: 34.03 kB / 0.8196 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.5131, allocations: 11.83 kB / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.5132, allocations: 113.6 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5132, allocations: 2.453 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.5133, allocations: 2.875 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5134, allocations: 106 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5134, allocations: 5.984 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-06/0.5134, allocations: 0 / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5134, allocations: 1.125 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.5135, allocations: 19.3 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.5136, allocations: 138.2 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5137, allocations: 59.89 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.5138, allocations: 26.12 kB / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/0.5141, allocations: 79.03 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.5142, allocations: 40.53 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.5142, allocations: 0.9375 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009343/0.5151, allocations: 460.3 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.5151, allocations: 53.5 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.5152, allocations: 104.7 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.5152, allocations: 25.7 kB / 0.8208 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.5152, allocations: 80.14 kB / 0.8209 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.5153, allocations: 42.56 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.5153, allocations: 23.78 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.5154, allocations: 318.9 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.5154, allocations: 28.25 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.5154, allocations: 18.44 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.5155, allocations: 57.64 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5155, allocations: 0 / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001149/0.5156, allocations: 99.48 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.5156, allocations: 2.469 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5156, allocations: 3 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5157, allocations: 4.688 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.5157, allocations: 23.45 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5157, allocations: 0 / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.5158, allocations: 5.281 kB / 0.8215 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.5158, allocations: 3.125 kB / 0.8215 GB, free: 14.32 MB / 0.6198 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 5.94e-05/0.5158, allocations: 117.7 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.5158, allocations: 12.42 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.516, allocations: 108.9 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.516, allocations: 2.781 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.516, allocations: 0 / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.516, allocations: 0.6562 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.5163, allocations: 321.9 kB / 0.822 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5163, allocations: 1.766 kB / 0.822 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.5164, allocations: 23.16 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5164, allocations: 1.781 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.5164, allocations: 15.62 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5164, allocations: 0.7031 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5164, allocations: 0 / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.5169, allocations: 220 kB / 0.8223 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.5169, allocations: 12.59 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.5169, allocations: 4 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-05/0.5169, allocations: 2.719 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.517, allocations: 6.609 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.517, allocations: 2.438 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.517, allocations: 87.27 kB / 0.8224 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.517, allocations: 0 / 0.8224 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002063/0.5172, allocations: 52.28 kB / 0.8224 GB, free: 13.54 MB / 0.6198 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.000444/0.5176, allocations: 0.7882 MB / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.5178, allocations: 58.53 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5178, allocations: 0 / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.5178, allocations: 34.91 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.518, allocations: 10.89 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.5189, allocations: 1.404 MB / 0.8247 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.519, allocations: 70.62 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.519, allocations: 13.91 kB / 0.8248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.519, allocations: 15.84 kB / 0.8248 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.519, allocations: 0 / 0.8248 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.5378, allocations: 2.98 MB / 0.8277 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/7.204, allocations: 6.094 kB / 0.8277 GB, free: 10.58 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.139196443837136] Failed to read output from testmodel.py, exit status != 0: 7.284427204634994 7.293989585 6.779503475 Calling exit ...