Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.0009345/0.0009345, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001468/0.001468, 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 0.9251/0.9251, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.835/1.835, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.RegNonZeroPower,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.41e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001805/0.001829, allocations: 1.463 MB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005205/0.002349, allocations: 355.5 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.002378, allocations: 0 / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.0024, allocations: 3.938 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.002436, allocations: 7.875 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.002767, allocations: 119.5 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.002827, allocations: 23.92 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.002905, allocations: 11.98 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.00295, allocations: 15.92 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.002982, allocations: 11.98 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.002995, allocations: 4 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.003392, allocations: 251.7 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.003409, allocations: 7.984 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.003428, allocations: 8 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.003606, allocations: 143.6 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.003609, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.72e-07/0.00361, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003613, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 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.0003153/0.003928, allocations: 290 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.003966, allocations: 9.344 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.003994, allocations: 34.73 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.004034, allocations: 4.938 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.804e-05/0.004102, allocations: 109.8 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.00411, allocations: 384 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.004122, allocations: 384 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.004243, allocations: 54.17 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.00425, allocations: 192 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004258, allocations: 8.375 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004262, allocations: 4.125 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.004345, allocations: 31.97 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.004612, allocations: 216.1 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.004695, allocations: 42.48 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.004739, allocations: 20.91 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.005032, allocations: 79.86 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.005049, allocations: 34.5 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.00505, allocations: 0 / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.005277, allocations: 89.64 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.005302, allocations: 51.41 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.005359, allocations: 109.8 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.005368, allocations: 25.7 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.005403, allocations: 88.09 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.005419, allocations: 11.88 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.005441, allocations: 17.72 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.005512, allocations: 314.8 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.005555, allocations: 20.11 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.00559, allocations: 15.98 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.005666, allocations: 44.75 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005668, allocations: 0 / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001122/0.00578, allocations: 73.59 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.005792, allocations: 12.09 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.005796, allocations: 0 / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.005808, allocations: 0 / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.16e-05/0.005859, allocations: 4 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.005867, allocations: 7.922 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.005889, allocations: 4 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005894, allocations: 4 kB / 1.005 GB, free: 9.094 MB / 0.9636 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.919e-05/0.005943, allocations: 108.5 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.005963, allocations: 7.938 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.006098, allocations: 77.27 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.006102, allocations: 4 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006106, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006108, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.00621, allocations: 128.7 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006211, allocations: 0 / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.006238, allocations: 8 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.006241, allocations: 7.922 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.006247, allocations: 4.031 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006248, allocations: 0 / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006249, allocations: 3.938 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.006383, allocations: 171.4 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-06/0.00639, allocations: 3.938 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.006398, allocations: 0 / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.006433, allocations: 4 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.006466, allocations: 11.97 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.006468, allocations: 32 / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.006495, allocations: 91.53 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006495, allocations: 0 / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001523/0.006648, allocations: 12 kB / 1.005 GB, free: 8.387 MB / 0.9636 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.000376/0.007024, allocations: 0.7162 MB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.007145, allocations: 47.98 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007146, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.007185, allocations: 19.98 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.007402, allocations: 0 / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.00772, allocations: 142.5 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.007759, allocations: 63.34 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.007775, allocations: 0 / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.007803, allocations: 20.42 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.007804, allocations: 4.125 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07783/0.08563, allocations: 2.253 MB / 1.009 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.878, allocations: 6.906 kB / 1.009 GB, free: 5.168 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_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_RegNonZeroPower.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.500401882454753]