Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.0007888/0.0007888, 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.001316/0.001316, 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.9006/0.9006, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7117/0.7117, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.506e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001634/0.001649, allocations: 1.464 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001937/0.001843, allocations: 87.75 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.00187, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.00189, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.002051, allocations: 3.938 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.002201, allocations: 15.97 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.002251, allocations: 27.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/0.002314, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.002352, allocations: 15.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.769e-05/0.00238, allocations: 15.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.002394, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.138e-05/0.002435, allocations: 15.98 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.002446, allocations: 0 / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.00246, allocations: 8 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.364e-05/0.002544, allocations: 39.81 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.002546, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002546, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.002549, allocations: 0 / 0.6198 GB, free: 11.94 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.000259/0.002808, allocations: 270.3 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.002838, allocations: 12.03 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.002862, allocations: 34.75 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.002952, allocations: 16.91 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.918e-05/0.003011, allocations: 105.8 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.003027, allocations: 4.375 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.003035, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.003147, allocations: 58.22 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.003152, allocations: 4.188 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.003158, allocations: 384 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003163, allocations: 4.125 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.003269, allocations: 51.89 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.003516, allocations: 220.1 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.003615, allocations: 58.53 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.003674, allocations: 28.91 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.003686, allocations: 0 / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.003703, allocations: 38.44 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.003705, allocations: 7.984 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002172/0.003922, allocations: 93.62 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.003946, allocations: 63.53 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.003996, allocations: 105.8 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.004005, allocations: 33.58 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.004036, allocations: 88.08 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.004049, allocations: 7.938 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.004074, allocations: 17.72 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.004139, allocations: 310.8 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.004189, allocations: 23.97 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.004236, allocations: 27.98 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.004329, allocations: 52.75 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.004331, allocations: 3.984 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001141/0.004445, allocations: 81.55 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-06/0.004455, allocations: 4 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.004458, allocations: 4.094 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.004466, allocations: 0 / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.004523, allocations: 15.98 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.004527, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.004555, allocations: 12.23 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.004558, allocations: 0 / 0.6216 GB, free: 9.918 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 (2): * Single equations (assignments): 2 * 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.934e-05/0.004608, allocations: 106.8 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.004622, allocations: 11.94 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.004644, allocations: 11.58 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004645, allocations: 4 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.004649, allocations: 7.922 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004651, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.004743, allocations: 128.8 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004744, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.004776, allocations: 11.98 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.004777, allocations: 3.938 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.004783, allocations: 0 / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004784, allocations: 0 / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004784, allocations: 4 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.004923, allocations: 175.5 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.004928, allocations: 7.922 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-06/0.004937, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.004979, allocations: 11.98 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.005006, allocations: 4 kB / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.005008, allocations: 0 / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.005034, allocations: 83.22 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005034, allocations: 4.031 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001366/0.005171, allocations: 11.94 kB / 0.6221 GB, free: 9.273 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 (2): * Single equations (assignments): 2 * 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.0002953/0.005466, allocations: 0.7007 MB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.005606, allocations: 51.94 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.005608, allocations: 4.094 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/0.00566, allocations: 31.86 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.005835, allocations: 7.984 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.006147, allocations: 142.6 kB / 0.623 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.006186, allocations: 63.34 kB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.006205, allocations: 4.062 kB / 0.6231 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.006236, allocations: 12.5 kB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.006236, allocations: 0 / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.01888, allocations: 2.181 MB / 0.6252 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/6.972, allocations: 10.22 kB / 0.6252 GB, free: 6.125 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.759001907892525] Failed to read output from testmodel.py, exit status != 0: 7.0616083005443215 7.071088226 7.066897508 Calling exit ...