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.001319/0.001319, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001599/0.001599, allocations: 217.1 kB / 23.04 MB, free: 5.078 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002627/0.002627, allocations: 279 kB / 313.5 MB, free: 2.824 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",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.00275/0.00275, allocations: 99.23 kB / 0.7403 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1903, allocations: 95.39 MB / 0.8335 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.6924/0.8827, allocations: 196.6 MB / 1.025 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006461/0.8891, allocations: 4.053 MB / 1.029 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.8906, allocations: 31.09 kB / 1.029 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.8921, allocations: 490.5 kB / 1.03 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.8974, allocations: 1.61 MB / 1.032 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.9019, allocations: 1.411 MB / 1.033 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002925/0.9048, allocations: 1.66 MB / 1.035 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.906, allocations: 0.8412 MB / 1.035 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.9077, allocations: 0.9623 MB / 1.036 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.909, allocations: 0.9213 MB / 1.037 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.9092, allocations: 103.8 kB / 1.037 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.912, allocations: 1.411 MB / 1.039 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.9124, allocations: 373 kB / 1.039 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005951/0.913, allocations: 0.521 MB / 1.04 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.9159, allocations: 1.666 MB / 1.041 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.9159, allocations: 0 / 1.041 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9159, allocations: 1.031 kB / 1.041 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.9159, allocations: 0 / 1.041 GB, free: 2.426 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.002943/0.9188, allocations: 1.191 MB / 1.042 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.9189, allocations: 10.19 kB / 1.042 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.705e-05/0.9189, allocations: 15.69 kB / 1.042 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.919, allocations: 89.08 kB / 1.042 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.9206, allocations: 244.8 kB / 1.043 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.9216, allocations: 0.5547 MB / 1.043 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.9217, allocations: 38.25 kB / 1.043 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.9218, allocations: 55.33 kB / 1.043 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.9232, allocations: 1.002 MB / 1.044 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9232, allocations: 8.406 kB / 1.044 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.9233, allocations: 24.19 kB / 1.044 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.9233, allocations: 30.48 kB / 1.044 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.9247, allocations: 1 MB / 1.045 GB, free: 17.25 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.005317/0.93, allocations: 4.102 MB / 1.049 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.9309, allocations: 0.5631 MB / 1.05 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.9316, allocations: 482.4 kB / 1.05 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006882/0.9323, allocations: 142.1 kB / 1.05 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.9323, allocations: 40.84 kB / 1.05 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00234/0.9346, allocations: 0.6328 MB / 1.051 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 4.518e-06/0.9346, allocations: 0.875 kB / 1.051 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01735/0.952, allocations: 3.678 MB / 1.055 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.9521, allocations: 58.16 kB / 1.055 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.9532, allocations: 0.7095 MB / 1.055 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.9534, allocations: 35.64 kB / 1.055 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.9537, allocations: 326.7 kB / 1.056 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.9539, allocations: 179.4 kB / 1.056 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.9541, allocations: 151.7 kB / 1.056 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9543, allocations: 329.2 kB / 1.056 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.9549, allocations: 394.2 kB / 1.057 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.9556, allocations: 491 kB / 1.057 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.9569, allocations: 0.9212 MB / 1.058 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.957, allocations: 3.938 kB / 1.058 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01174/0.9687, allocations: 2.557 MB / 1.061 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.9687, allocations: 6.844 kB / 1.061 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.9688, allocations: 3.406 kB / 1.061 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.9789, allocations: 1.727 MB / 1.062 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.9794, allocations: 96.48 kB / 1.062 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.9929, allocations: 6.939 MB / 1.069 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.994, allocations: 18.44 kB / 1.069 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.9942, allocations: 50.52 kB / 1.069 GB, free: 6.211 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.0005489/0.9948, allocations: 205.8 kB / 1.069 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.9951, allocations: 90.77 kB / 1.07 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005255/1, allocations: 1.716 MB / 1.071 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1, allocations: 16.64 kB / 1.071 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1, allocations: 6.344 kB / 1.071 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1, allocations: 0 / 1.071 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006371/1.007, allocations: 2.513 MB / 1.074 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/1.007, allocations: 4.188 kB / 1.074 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/1.007, allocations: 82.52 kB / 1.074 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0035/1.011, allocations: 0.7965 MB / 1.075 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.011, allocations: 18.42 kB / 1.075 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007204/1.018, allocations: 4.649 MB / 1.079 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.018, allocations: 2.312 kB / 1.079 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00576/1.024, allocations: 2.143 MB / 1.081 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/1.024, allocations: 164.1 kB / 1.081 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/1.025, allocations: 13.25 kB / 1.081 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/1.025, allocations: 24.62 kB / 1.081 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/1.026, allocations: 58.31 kB / 1.081 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/1.026, allocations: 23.09 kB / 1.082 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00081/1.027, allocations: 0.4971 MB / 1.082 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/1.027, allocations: 0 / 1.082 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00125/1.028, allocations: 291.8 kB / 1.082 GB, free: 13.34 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.006328/1.034, allocations: 2.778 MB / 1.085 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003934/1.038, allocations: 1.406 MB / 1.086 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.038, allocations: 0 / 1.086 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.04, allocations: 0.8594 MB / 1.087 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.043, allocations: 468.1 kB / 1.088 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/1.076, allocations: 10.44 MB / 1.098 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/1.077, allocations: 0.9828 MB / 1.099 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007967/1.078, allocations: 166.6 kB / 1.099 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/1.078, allocations: 286.4 kB / 1.099 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of SimCode: time 9.62e-07/1.078, allocations: 0 / 1.099 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07621/1.155, allocations: 30.49 MB / 1.129 GB, free: 13.75 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.28, allocations: 11.86 kB / 1.129 GB, free: 13.74 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.63683727598982] Failed to read output from testmodel.py, exit status != 0: 14.456480367982294 14.476854872 13.556010294 Calling exit ...