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.001295/0.001295, 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.001628/0.001628, allocations: 215.9 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.992 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.002434/0.002434, allocations: 292.1 kB / 312.7 MB, free: 2.812 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.194/1.194, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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.002735/0.002735, allocations: 103.8 kB / 0.7396 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1763, allocations: 95.39 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.6314/0.8077, allocations: 196.6 MB / 1.025 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005483/0.8132, allocations: 4.044 MB / 1.029 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.8144, allocations: 27.69 kB / 1.029 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.8157, allocations: 490.7 kB / 1.029 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.8194, allocations: 1.616 MB / 1.031 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.823, allocations: 1.41 MB / 1.032 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002326/0.8253, allocations: 1.655 MB / 1.034 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009661/0.8263, allocations: 0.8439 MB / 1.035 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.8278, allocations: 0.9586 MB / 1.036 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009706/0.8288, allocations: 0.9273 MB / 1.036 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.8289, allocations: 100.5 kB / 1.037 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.8313, allocations: 1.412 MB / 1.038 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.8316, allocations: 369.2 kB / 1.038 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.832, allocations: 0.5213 MB / 1.039 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.8339, allocations: 1.663 MB / 1.04 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8339, allocations: 2.938 kB / 1.04 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8339, allocations: 0 / 1.04 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.8339, allocations: 0 / 1.04 GB, free: 2.422 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.002404/0.8363, allocations: 1.183 MB / 1.042 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8363, allocations: 13.44 kB / 1.042 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.8365, allocations: 91.75 kB / 1.042 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.8378, allocations: 249.1 kB / 1.042 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.8387, allocations: 0.5512 MB / 1.042 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.8387, allocations: 35.72 kB / 1.042 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/0.8388, allocations: 56.64 kB / 1.042 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.84, allocations: 1.004 MB / 1.043 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.8401, allocations: 6.406 kB / 1.043 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/0.8401, allocations: 26.39 kB / 1.044 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.8402, allocations: 26.09 kB / 1.044 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.8415, allocations: 1.005 MB / 1.045 GB, free: 17.24 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.004874/0.8464, allocations: 4.096 MB / 1.049 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.8472, allocations: 0.5679 MB / 1.049 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.8478, allocations: 487.3 kB / 1.05 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.8485, allocations: 143.5 kB / 1.05 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.8485, allocations: 42.12 kB / 1.05 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002063/0.8506, allocations: 0.6385 MB / 1.05 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.607e-06/0.8506, allocations: 0.875 kB / 1.05 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01574/0.8663, allocations: 3.668 MB / 1.054 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.8664, allocations: 58.44 kB / 1.054 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/0.8673, allocations: 0.7139 MB / 1.055 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.8674, allocations: 34.64 kB / 1.055 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.8677, allocations: 331.4 kB / 1.055 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.8678, allocations: 179.3 kB / 1.055 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.868, allocations: 152 kB / 1.055 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8682, allocations: 325.2 kB / 1.056 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.8688, allocations: 394.3 kB / 1.056 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.8694, allocations: 490.6 kB / 1.056 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.8707, allocations: 0.9184 MB / 1.057 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8707, allocations: 0 / 1.057 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01058/0.8813, allocations: 2.557 MB / 1.06 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.8813, allocations: 5.938 kB / 1.06 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8813, allocations: 3.375 kB / 1.06 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008925/0.8903, allocations: 1.731 MB / 1.062 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.8907, allocations: 94.44 kB / 1.062 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.9035, allocations: 6.95 MB / 1.068 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.9044, allocations: 15 kB / 1.068 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.9046, allocations: 48.7 kB / 1.069 GB, free: 6.207 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.0004843/0.9051, allocations: 209.3 kB / 1.069 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.9053, allocations: 88.25 kB / 1.069 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/0.9103, allocations: 1.726 MB / 1.07 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.9103, allocations: 9.75 kB / 1.07 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.9103, allocations: 2.75 kB / 1.071 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.9103, allocations: 0 / 1.071 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006012/0.9163, allocations: 2.511 MB / 1.073 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.9163, allocations: 2.312 kB / 1.073 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.9167, allocations: 87.08 kB / 1.073 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/0.9201, allocations: 0.8041 MB / 1.074 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.9201, allocations: 13.44 kB / 1.074 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006749/0.9269, allocations: 4.655 MB / 1.078 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.9269, allocations: 2.562 kB / 1.078 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.9322, allocations: 2.149 MB / 1.08 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/0.9329, allocations: 155.5 kB / 1.081 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.9331, allocations: 17.95 kB / 1.081 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/0.9338, allocations: 21.92 kB / 1.081 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.934, allocations: 50.84 kB / 1.081 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.9341, allocations: 26.94 kB / 1.081 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007522/0.9348, allocations: 0.5013 MB / 1.081 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9348, allocations: 0 / 1.081 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001091/0.9359, allocations: 291.8 kB / 1.082 GB, free: 13.29 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.005941/0.9418, allocations: 2.781 MB / 1.084 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.9455, allocations: 1.398 MB / 1.086 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.9455, allocations: 4.25 kB / 1.086 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.9473, allocations: 0.8622 MB / 1.086 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.9495, allocations: 465.4 kB / 1.087 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/0.9804, allocations: 10.42 MB / 1.097 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.9811, allocations: 0.9828 MB / 1.098 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007347/0.9819, allocations: 158.6 kB / 1.098 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.9824, allocations: 283.3 kB / 1.098 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of SimCode: time 1.022e-06/0.9824, allocations: 7.094 kB / 1.098 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/1.063, allocations: 30.47 MB / 1.128 GB, free: 13.73 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.05, allocations: 7.969 kB / 1.128 GB, free: 13.72 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.1279166508466] Failed to read output from testmodel.py, exit status != 0: 14.180644501931965 14.196781813 13.359661314 Calling exit ...