Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008338/0.0008338, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.0008827/0.0008827, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.006/1.006, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.813/1.813, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.984e-05, allocations: 2.281 kB / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003055/0.003075, allocations: 1.468 MB / 1.002 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0003228/0.003398, allocations: 87.77 kB / 1.002 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.003443, allocations: 0 / 1.002 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.003472, allocations: 0 / 1.002 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.003524, allocations: 11.86 kB / 1.002 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.00375, allocations: 15.97 kB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.003836, allocations: 27.94 kB / 1.002 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003942, allocations: 7.984 kB / 1.002 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.004009, allocations: 11.94 kB / 1.002 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.004051, allocations: 11.98 kB / 1.002 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004068, allocations: 4 kB / 1.002 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.004131, allocations: 11.98 kB / 1.002 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.00415, allocations: 11.98 kB / 1.002 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.004173, allocations: 7.984 kB / 1.002 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004311, allocations: 43.77 kB / 1.002 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.004315, allocations: 0 / 1.002 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.723e-06/0.004316, allocations: 0 / 1.002 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004321, allocations: 0 / 1.002 GB, free: 10.67 MB / 0.9167 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.000507/0.004828, allocations: 266.3 kB / 1.003 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.004893, allocations: 9.344 kB / 1.003 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.004935, allocations: 34.75 kB / 1.003 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.005104, allocations: 12.92 kB / 1.003 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.005213, allocations: 113.8 kB / 1.003 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.00524, allocations: 384 / 1.003 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.005251, allocations: 384 / 1.003 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.005431, allocations: 62.16 kB / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.00544, allocations: 192 / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.005452, allocations: 384 / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.00546, allocations: 8.125 kB / 1.003 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.005624, allocations: 51.89 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.006037, allocations: 228 kB / 1.003 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.006186, allocations: 46.55 kB / 1.003 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.006274, allocations: 32.89 kB / 1.003 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.006289, allocations: 0 / 1.003 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.006311, allocations: 42.5 kB / 1.003 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.006312, allocations: 0 / 1.003 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0003607/0.006673, allocations: 109.5 kB / 1.003 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.006704, allocations: 51.41 kB / 1.003 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.006787, allocations: 109.8 kB / 1.003 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/0.007827, allocations: 25.7 kB / 1.003 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.007872, allocations: 88.27 kB / 1.004 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.007897, allocations: 11.88 kB / 1.004 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.007934, allocations: 17.72 kB / 1.004 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.008013, allocations: 314.8 kB / 1.004 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.008093, allocations: 23.98 kB / 1.004 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.008144, allocations: 23.97 kB / 1.004 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.008252, allocations: 56.81 kB / 1.004 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008254, allocations: 0 / 1.004 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001432/0.008397, allocations: 81.55 kB / 1.004 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.008412, allocations: 8 kB / 1.004 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.008418, allocations: 3.984 kB / 1.004 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.00843, allocations: 0 / 1.004 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.008508, allocations: 12.02 kB / 1.004 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008513, allocations: 4 kB / 1.004 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.008543, allocations: 4 kB / 1.004 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.008548, allocations: 0 / 1.004 GB, free: 8.656 MB / 0.9167 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 5.977e-05/0.008607, allocations: 117.8 kB / 1.004 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.00862, allocations: 3.938 kB / 1.004 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.00865, allocations: 3.625 kB / 1.004 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.008653, allocations: 4 kB / 1.004 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.008657, allocations: 0 / 1.004 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.00866, allocations: 0 / 1.004 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.008772, allocations: 136.8 kB / 1.004 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008773, allocations: 0 / 1.004 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.00881, allocations: 11.92 kB / 1.004 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.008812, allocations: 7.938 kB / 1.004 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.008818, allocations: 0 / 1.004 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00882, allocations: 3.938 kB / 1.004 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008821, allocations: 0 / 1.004 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.008989, allocations: 179.5 kB / 1.005 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.008997, allocations: 3.938 kB / 1.005 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.009007, allocations: 4 kB / 1.005 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.00905, allocations: 15.91 kB / 1.005 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.009086, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.00909, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.009123, allocations: 95.52 kB / 1.005 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009123, allocations: 0 / 1.005 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001477/0.009271, allocations: 4 kB / 1.005 GB, free: 8.004 MB / 0.9167 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.0003995/0.009671, allocations: 0.7132 MB / 1.005 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.009821, allocations: 43.95 kB / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009823, allocations: 0 / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.009878, allocations: 27.97 kB / 1.005 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.01013, allocations: 17.12 kB / 1.005 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.01051, allocations: 156.6 kB / 1.006 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.01055, allocations: 55.36 kB / 1.006 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.01058, allocations: 7.984 kB / 1.006 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.01062, allocations: 12.5 kB / 1.006 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of SimCode: time 7.72e-07/0.01062, allocations: 0 / 1.006 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07476/0.08538, allocations: 2.177 MB / 1.008 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.757, allocations: 8.922 kB / 1.008 GB, free: 4.852 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.389929989352822]