Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.0008039/0.0008039, 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.0008431/0.0008431, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.8861/0.8861, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.795/1.795, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_13_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_13_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.754e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00158/0.001598, allocations: 1.294 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.001976, allocations: 251 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.002005, allocations: 4 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.002022, allocations: 0 / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.002108, allocations: 19.84 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.002341, allocations: 63.72 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.002407, allocations: 31.86 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.002446, allocations: 8 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.002555, allocations: 43.89 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.002595, allocations: 15.92 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.002608, allocations: 0 / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.002712, allocations: 59.92 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.002727, allocations: 4 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.002747, allocations: 11.92 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.002877, allocations: 75.78 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002878, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002879, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.002884, allocations: 4 kB / 1.002 GB, free: 11.64 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.0003655/0.003249, allocations: 282.1 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.003293, allocations: 9.344 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.003338, allocations: 34.75 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.003609, allocations: 52.75 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.368e-05/0.003683, allocations: 117.7 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.003701, allocations: 384 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.00371, allocations: 8.359 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.003845, allocations: 91.67 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.003851, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.003861, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003865, allocations: 3.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.003958, allocations: 39.95 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.004279, allocations: 227.9 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.004366, allocations: 54.48 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.004398, allocations: 16.92 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.004409, allocations: 0 / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.004426, allocations: 34.55 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.004426, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.004598, allocations: 69.61 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.004622, allocations: 51.41 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.004681, allocations: 118 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.00469, allocations: 25.7 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.004718, allocations: 80.14 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.004731, allocations: 3.953 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.004759, allocations: 21.67 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.004829, allocations: 314.8 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.004858, allocations: 8 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.004884, allocations: 15.98 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/0.00494, allocations: 32.84 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004941, allocations: 0 / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.854e-05/0.00502, allocations: 57.61 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.005033, allocations: 10.03 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005036, allocations: 0 / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.005046, allocations: 0 / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.005105, allocations: 7.984 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.005109, allocations: 0 / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.005133, allocations: 4 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005138, allocations: 4.031 kB / 1.004 GB, free: 9.688 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 5.463e-05/0.005192, allocations: 121.7 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.005205, allocations: 3.984 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.005229, allocations: 3.625 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005231, allocations: 0 / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.005235, allocations: 4 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.005237, allocations: 3.938 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.005342, allocations: 132.7 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005343, allocations: 4 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.005367, allocations: 4 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005368, allocations: 4 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.005375, allocations: 3.984 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005376, allocations: 0 / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005376, allocations: 0 / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.005483, allocations: 160.2 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.005505, allocations: 4 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.005515, allocations: 0 / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.005552, allocations: 4 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.005567, allocations: 11.92 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.00557, allocations: 8.031 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.005596, allocations: 83.28 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005596, allocations: 0 / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001382/0.005735, allocations: 4 kB / 1.005 GB, free: 9.066 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.0002683/0.006003, allocations: 0.6928 MB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.006096, allocations: 23.98 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006097, allocations: 4.094 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.006122, allocations: 15.98 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.006312, allocations: 4 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.006643, allocations: 162.3 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.003e-05/0.006683, allocations: 63.34 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.006714, allocations: 7.969 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.006747, allocations: 20.47 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.006747, allocations: 0 / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07396/0.08071, allocations: 1.879 MB / 1.008 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.958, allocations: 13.88 kB / 1.008 GB, free: 6.242 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu) > Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_fmpy.pipe ; mkfifo Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_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_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu) > Buildings_13_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.483730559237301]