Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.0009049/0.0009049, 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.001585/0.001585, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9105/0.9105, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.6934/0.6934, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.822e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001929/0.001958, allocations: 0.5948 MB / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002524/0.00221, allocations: 95.67 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.002226, allocations: 0 / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.002241, allocations: 4 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.002286, allocations: 3.938 kB / 0.6188 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.002504, allocations: 15.97 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.002557, allocations: 7.938 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.002604, allocations: 4 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.002637, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.002721, allocations: 7.984 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.002737, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.04e-05/0.002797, allocations: 15.98 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.00281, allocations: 4 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.002827, allocations: 3.984 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.002917, allocations: 15.98 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.00292, allocations: 0 / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.352e-06/0.002922, allocations: 0 / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.002926, allocations: 0 / 0.6189 GB, free: 12.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002959/0.003222, allocations: 246.3 kB / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.003263, allocations: 8.031 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.003294, allocations: 34.75 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.003419, allocations: 8.922 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.678e-05/0.003476, allocations: 117.7 kB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.003497, allocations: 384 / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.003504, allocations: 384 / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.003601, allocations: 42.25 kB / 0.6193 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003607, allocations: 192 / 0.6193 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003615, allocations: 384 / 0.6193 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.003626, allocations: 4.125 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.00368, allocations: 11.98 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.003795, allocations: 120.8 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.003915, allocations: 46.53 kB / 0.6195 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.003943, allocations: 12.92 kB / 0.6195 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.003959, allocations: 0 / 0.6195 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.003979, allocations: 42.48 kB / 0.6196 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.00398, allocations: 0 / 0.6196 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001576/0.004137, allocations: 53.62 kB / 0.6196 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.004169, allocations: 55.34 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.837e-05/0.004197, allocations: 93.84 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.004207, allocations: 33.7 kB / 0.6198 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.916e-05/0.004226, allocations: 80.14 kB / 0.6199 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.004259, allocations: 15.84 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.004284, allocations: 9.719 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.004362, allocations: 318.8 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.004395, allocations: 7.984 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.00441, allocations: 4 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.00446, allocations: 21.12 kB / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.004463, allocations: 0 / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.063e-05/0.004533, allocations: 57.61 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.004548, allocations: 7.984 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.004558, allocations: 4 kB / 0.6203 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.004571, allocations: 0 / 0.6203 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.004784, allocations: 39.94 kB / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008498/0.005634, allocations: 1.301 MB / 0.6216 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.00566, allocations: 12.02 kB / 0.6216 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.005665, allocations: 4.156 kB / 0.6216 GB, free: 9.703 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.005728, allocations: 110.8 kB / 0.6217 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.005736, allocations: 8 kB / 0.6217 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.005747, allocations: 7.469 kB / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005749, allocations: 0 / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.00575, allocations: 0 / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.005752, allocations: 0 / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.64e-05/0.005819, allocations: 128.7 kB / 0.6219 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00582, allocations: 0 / 0.6219 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.005992, allocations: 47.94 kB / 0.6219 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005993, allocations: 0 / 0.6219 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.006, allocations: 3.984 kB / 0.6219 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006911/0.006692, allocations: 1.297 MB / 0.6232 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.006693, allocations: 3.938 kB / 0.6232 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.00677, allocations: 81.17 kB / 0.6233 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-06/0.006772, allocations: 0 / 0.6233 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-06/0.006776, allocations: 4.156 kB / 0.6233 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.006789, allocations: 0 / 0.6233 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.006808, allocations: 15.86 kB / 0.6233 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.006812, allocations: 0 / 0.6233 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.006834, allocations: 75.28 kB / 0.6234 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.006834, allocations: 3.938 kB / 0.6234 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001409/0.006975, allocations: 8 kB / 0.6234 GB, free: 7.73 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002838/0.007259, allocations: 0.6008 MB / 0.624 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.007529, allocations: 63.86 kB / 0.624 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.007533, allocations: 4 kB / 0.624 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.007656, allocations: 35.95 kB / 0.6241 GB, free: 7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.007775, allocations: 11.94 kB / 0.6241 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.008193, allocations: 114.6 kB / 0.6242 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.008232, allocations: 59.34 kB / 0.6242 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.008261, allocations: 7.953 kB / 0.6242 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.008296, allocations: 8.5 kB / 0.6243 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/0.008297, allocations: 0 / 0.6243 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.02285, allocations: 1.898 MB / 0.6261 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.605, allocations: 10.94 kB / 0.6261 GB, free: 4.98 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.228897931054235] Failed to read output from testmodel.py, exit status != 0: 7.690345671027899 7.698203315 7.693351303 Calling exit ...