Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0007457/0.0007457, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008287/0.0008287, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8907/0.8907, allocations: 177.1 MB / 202.8 MB, free: 5.742 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-531:686: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-531:694: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.7116/0.7116, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.19e-05, allocations: 5.344 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001182/0.001204, allocations: 0.5878 MB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004426/0.001647, allocations: 290.9 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.001662, allocations: 0 / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.001676, allocations: 0 / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.001682, allocations: 0 / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.002059, allocations: 111.6 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.002108, allocations: 3.984 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.002149, allocations: 4 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.002172, allocations: 4 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.002194, allocations: 0 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.002206, allocations: 4 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.002478, allocations: 251.7 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.00249, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.21e-05/0.002502, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.002662, allocations: 119.7 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.002664, allocations: 0 / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002665, allocations: 0 / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.00267, allocations: 3.938 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002366/0.002907, allocations: 266.2 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/0.003007, allocations: 12.03 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.003033, allocations: 34.75 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.003075, allocations: 0.9375 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.494e-05/0.00313, allocations: 109.8 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-06/0.00314, allocations: 384 / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.003147, allocations: 4.375 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.92e-05/0.003226, allocations: 26.27 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003233, allocations: 192 / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.00324, allocations: 384 / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.003246, allocations: 4.125 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.003265, allocations: 4 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.003369, allocations: 112.8 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.003408, allocations: 34.53 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.003421, allocations: 4.859 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.003683, allocations: 40.03 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.0037, allocations: 30.56 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.003701, allocations: 0 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.003822, allocations: 37.72 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.003849, allocations: 63.38 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.092e-05/0.00388, allocations: 89.86 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.003889, allocations: 25.7 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/0.003906, allocations: 80.14 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.00393, allocations: 7.938 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.003952, allocations: 13.72 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.004027, allocations: 310.8 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.004035, allocations: 0 / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-06/0.004039, allocations: 0 / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.00406, allocations: 12.92 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004061, allocations: 0 / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.987e-05/0.004101, allocations: 45.62 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.004113, allocations: 4 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004117, allocations: 0 / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.004127, allocations: 0 / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.425e-05/0.004161, allocations: 7.938 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.004167, allocations: 3.938 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-06/0.004173, allocations: 0 / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.004178, allocations: 0 / 0.6208 GB, free: 10.66 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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 4.653e-05/0.004224, allocations: 110.9 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.004233, allocations: 4 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.0043, allocations: 48.58 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004301, allocations: 0 / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.004307, allocations: 7.938 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004309, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.628e-05/0.004366, allocations: 120.8 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004366, allocations: 0 / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-06/0.004371, allocations: 0 / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.004371, allocations: 3.938 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.004378, allocations: 8.031 kB / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.004378, allocations: 0 / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.00438, allocations: 3.938 kB / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.038e-05/0.00443, allocations: 57.09 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.004436, allocations: 7.984 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-06/0.004443, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-06/0.004446, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.004459, allocations: 3.938 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.004461, allocations: 4 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.958e-05/0.004481, allocations: 75.28 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004481, allocations: 4.031 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001319/0.004613, allocations: 8 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002729/0.004886, allocations: 0.6124 MB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.004944, allocations: 4 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.004946, allocations: 0 / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.004951, allocations: 7.984 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.005048, allocations: 9.906 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.00528, allocations: 106.8 kB / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.005316, allocations: 59.36 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.005331, allocations: 3.984 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.005345, allocations: 12.44 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.005346, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.02163, allocations: 1.812 MB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/6.79, allocations: 13.89 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.411310700699687] Failed to read output from testmodel.py, exit status != 0: 6.868474121205509 6.877021717 6.872760656 Calling exit ...