Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.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.00176/0.00176, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002311/0.002311, allocations: 215 kB / 22.25 MB, free: 5.125 MB / 14.72 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002702/0.002702, allocations: 287.1 kB / 312.7 MB, free: 2.77 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.229/1.229, allocations: 180.6 MB / 0.5369 GB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 100.1 kB / 0.7396 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1914, allocations: 95.39 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.6916/0.8829, allocations: 196.6 MB / 1.025 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006072/0.889, allocations: 4.051 MB / 1.029 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.8903, allocations: 25.56 kB / 1.029 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.8918, allocations: 493.4 kB / 1.029 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.896, allocations: 1.612 MB / 1.031 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.9, allocations: 1.408 MB / 1.032 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.9028, allocations: 1.657 MB / 1.034 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.9041, allocations: 0.8417 MB / 1.035 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.9063, allocations: 0.9655 MB / 1.036 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.908, allocations: 0.9245 MB / 1.036 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.9084, allocations: 99.5 kB / 1.037 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.9119, allocations: 1.414 MB / 1.038 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.9126, allocations: 364.6 kB / 1.038 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.9137, allocations: 0.519 MB / 1.039 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004933/0.9186, allocations: 1.667 MB / 1.04 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.9186, allocations: 6.625 kB / 1.04 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.875e-06/0.9186, allocations: 0.7188 kB / 1.04 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.716e-05/0.9187, allocations: 0 / 1.04 GB, free: 2.406 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.004473/0.9232, allocations: 1.183 MB / 1.042 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.9232, allocations: 11.5 kB / 1.042 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.9235, allocations: 94.02 kB / 1.042 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.9253, allocations: 247.2 kB / 1.042 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.9264, allocations: 0.552 MB / 1.042 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.9265, allocations: 39.78 kB / 1.042 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.9266, allocations: 54.8 kB / 1.043 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.9279, allocations: 1 MB / 1.043 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.9279, allocations: 3.094 kB / 1.043 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.928, allocations: 23.44 kB / 1.044 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.928, allocations: 31.03 kB / 1.044 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.9294, allocations: 1.002 MB / 1.045 GB, free: 17.23 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/0.9345, allocations: 4.102 MB / 1.049 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.9353, allocations: 0.5627 MB / 1.049 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.936, allocations: 486.1 kB / 1.05 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/0.9366, allocations: 138.6 kB / 1.05 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.9367, allocations: 40.97 kB / 1.05 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002242/0.9389, allocations: 0.6452 MB / 1.05 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.948e-06/0.9389, allocations: 0 / 1.05 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01673/0.9557, allocations: 3.665 MB / 1.054 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.9557, allocations: 54.69 kB / 1.054 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/0.9567, allocations: 0.7152 MB / 1.055 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.9569, allocations: 35.14 kB / 1.055 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.9571, allocations: 324.5 kB / 1.055 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.9573, allocations: 181.8 kB / 1.055 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.9575, allocations: 152 kB / 1.055 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9577, allocations: 324.7 kB / 1.056 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.9583, allocations: 400 kB / 1.056 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.959, allocations: 490.2 kB / 1.056 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.9602, allocations: 0.9234 MB / 1.057 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9602, allocations: 0 / 1.057 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01091/0.9711, allocations: 2.567 MB / 1.06 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.9712, allocations: 8.344 kB / 1.06 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.9712, allocations: 0 / 1.06 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009366/0.9805, allocations: 1.721 MB / 1.062 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.9811, allocations: 96.89 kB / 1.062 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.9936, allocations: 6.941 MB / 1.068 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009718/0.9946, allocations: 18.19 kB / 1.068 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/0.9947, allocations: 47.89 kB / 1.069 GB, free: 6.188 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004428/0.9951, allocations: 219.8 kB / 1.069 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.9953, allocations: 88.25 kB / 1.069 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/1, allocations: 1.714 MB / 1.07 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1, allocations: 10.31 kB / 1.07 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1, allocations: 2.969 kB / 1.07 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1, allocations: 3.984 kB / 1.07 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/1.006, allocations: 2.517 MB / 1.073 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.006, allocations: 0 / 1.073 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/1.006, allocations: 90.98 kB / 1.073 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/1.01, allocations: 0.7943 MB / 1.074 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.258e-05/1.01, allocations: 21.86 kB / 1.074 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006582/1.016, allocations: 4.654 MB / 1.078 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.016, allocations: 0 / 1.078 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/1.022, allocations: 2.145 MB / 1.08 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/1.022, allocations: 157.1 kB / 1.081 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.023, allocations: 13 kB / 1.081 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/1.023, allocations: 20.55 kB / 1.081 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.023, allocations: 65.61 kB / 1.081 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/1.023, allocations: 18.88 kB / 1.081 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006716/1.024, allocations: 0.5042 MB / 1.081 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 1.081 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001072/1.025, allocations: 287.8 kB / 1.082 GB, free: 13.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005848/1.031, allocations: 2.779 MB / 1.084 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003658/1.035, allocations: 1.399 MB / 1.086 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/1.035, allocations: 0 / 1.086 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.036, allocations: 0.8705 MB / 1.086 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.039, allocations: 460 kB / 1.087 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/1.069, allocations: 10.44 MB / 1.097 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/1.07, allocations: 0.9828 MB / 1.098 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007416/1.071, allocations: 158.6 kB / 1.098 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/1.071, allocations: 279.3 kB / 1.098 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of SimCode: time 7.11e-07/1.071, allocations: 4 kB / 1.098 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07678/1.148, allocations: 30.47 MB / 1.128 GB, free: 13.71 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.76, allocations: 4.062 kB / 1.128 GB, free: 13.7 MB / 0.795 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.200527069999225] Failed to read output from testmodel.py, exit status != 0: 13.883836509001412 13.90485066 12.983050985 Calling exit ...