Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001198/0.001198, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001431/0.001431, allocations: 169 kB / 23.49 MB, free: 1.062 MB / 18.57 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.9529/0.9529, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7914/0.7914, allocations: 154.6 MB / 414.9 MB, free: 0.6758 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5204 GB, free: 2.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.916e-05/4.105e-05, allocations: 7.656 kB / 0.5204 GB, free: 2.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001727/0.001768, allocations: 0.605 MB / 0.521 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007058/0.002473, allocations: 316.7 kB / 0.5213 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002515, allocations: 4.812 kB / 0.5213 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.002539, allocations: 0 / 0.5213 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.00257, allocations: 3.094 kB / 0.5213 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.003148, allocations: 115.5 kB / 0.5214 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.003228, allocations: 11.98 kB / 0.5214 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.003281, allocations: 0 / 0.5214 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.003327, allocations: 4 kB / 0.5214 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.003405, allocations: 12.53 kB / 0.5214 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.003424, allocations: 0 / 0.5214 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.003729, allocations: 256.2 kB / 0.5217 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.003748, allocations: 4.688 kB / 0.5217 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.00377, allocations: 0 / 0.5217 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.003976, allocations: 124.3 kB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003979, allocations: 0 / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003979, allocations: 1.469 kB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.003985, allocations: 0 / 0.5218 GB, free: 1.023 MB / 490.7 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.0004088/0.004394, allocations: 368.1 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.004447, allocations: 12.03 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.004563, allocations: 1.875 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.004678, allocations: 116.9 kB / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.004695, allocations: 5.75 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.004722, allocations: 8.328 kB / 0.5223 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.004842, allocations: 55.95 kB / 0.5223 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00485, allocations: 5.375 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.004861, allocations: 384 / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.004869, allocations: 384 / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.004884, allocations: 4.75 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.005033, allocations: 116.6 kB / 0.5225 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.003e-05/0.005084, allocations: 32.31 kB / 0.5225 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.005103, allocations: 15.75 kB / 0.5225 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.005479, allocations: 83.89 kB / 0.5226 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.005509, allocations: 33.39 kB / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.005511, allocations: 0 / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004747/0.005985, allocations: 183.8 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.006018, allocations: 51.41 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.006093, allocations: 161.9 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.006102, allocations: 29.64 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.006142, allocations: 126.9 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.006166, allocations: 22.75 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.006199, allocations: 19.38 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.006327, allocations: 0.4884 MB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.006341, allocations: 4 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.006366, allocations: 19.38 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.006407, allocations: 35.31 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006408, allocations: 2.75 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.106e-05/0.006489, allocations: 53.62 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.006502, allocations: 4 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006507, allocations: 0 / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.00652, allocations: 0 / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.00657, allocations: 11.98 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.006576, allocations: 4.656 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.006588, allocations: 0 / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.006595, allocations: 5.125 kB / 0.5238 GB, free: 14.73 MB / 0.4948 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 6.75e-05/0.006662, allocations: 156.6 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.006681, allocations: 8.703 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.006781, allocations: 53.81 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006783, allocations: 0.9062 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.006789, allocations: 3.984 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.006794, allocations: 5.156 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.409e-05/0.006868, allocations: 112.6 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006868, allocations: 0 / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.006904, allocations: 4 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006906, allocations: 0.5 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006912, allocations: 5.625 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.006915, allocations: 3.984 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006915, allocations: 0 / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.007035, allocations: 88.55 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.007041, allocations: 2.438 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.00705, allocations: 3.938 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.007067, allocations: 4 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.007082, allocations: 3.984 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.007086, allocations: 0 / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.007131, allocations: 135.1 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007131, allocations: 2.625 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001471/0.007278, allocations: 23.94 kB / 0.5244 GB, free: 14.06 MB / 0.4948 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.0001509/0.007429, allocations: 127.2 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.358e-05/0.007513, allocations: 23.67 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007514, allocations: 0 / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.007528, allocations: 16.53 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.007637, allocations: 4 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.007873, allocations: 111.4 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.007905, allocations: 55.34 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.007932, allocations: 9.469 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.00795, allocations: 8.5 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.007951, allocations: 1.375 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.002593/0.01054, allocations: 0.9061 MB / 0.5256 GB, free: 12.79 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7884566681459546]