Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007775/0.007775, allocations: 103.8 kB / 15.74 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 195.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8608/0.8608, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.8 kB / 0.595 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1708, allocations: 82.04 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6062/0.7771, allocations: 192.7 MB / 0.8634 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006904/0.784, allocations: 4.021 MB / 0.8673 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.7854, allocations: 23.88 kB / 0.8673 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.7872, allocations: 489 kB / 0.8678 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.7928, allocations: 1.598 MB / 0.8694 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.7966, allocations: 1.369 MB / 0.8707 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002674/0.7993, allocations: 1.636 MB / 0.8723 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.8006, allocations: 0.9587 MB / 0.8732 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.8024, allocations: 0.9423 MB / 0.8741 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.8036, allocations: 0.8527 MB / 0.875 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.8038, allocations: 96 kB / 0.8751 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.8067, allocations: 1.313 MB / 0.8764 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.8071, allocations: 354.9 kB / 0.8767 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006984/0.8078, allocations: 0.5133 MB / 0.8772 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.8108, allocations: 1.679 MB / 0.8788 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8109, allocations: 4 kB / 0.8788 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8109, allocations: 0 / 0.8788 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.8109, allocations: 0 / 0.8788 GB, free: 13.63 MB / 0.6544 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.003011/0.8139, allocations: 1.445 MB / 0.8802 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.814, allocations: 12.03 kB / 0.8803 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.8141, allocations: 94.45 kB / 0.8803 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.8157, allocations: 238.8 kB / 0.8806 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009281/0.8167, allocations: 0.6071 MB / 0.8812 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.8167, allocations: 40.98 kB / 0.8812 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.8168, allocations: 51.98 kB / 0.8813 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.8183, allocations: 0.9668 MB / 0.8822 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.8183, allocations: 3.938 kB / 0.8822 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.8184, allocations: 20 kB / 0.8822 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.8185, allocations: 31.98 kB / 0.8823 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.82, allocations: 0.9406 MB / 0.8832 GB, free: 9.016 MB / 0.6544 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.005504/0.8256, allocations: 4.262 MB / 0.8873 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.8266, allocations: 0.5978 MB / 0.8879 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007785/0.8274, allocations: 0.5174 MB / 0.8884 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.8285, allocations: 0.8744 MB / 0.8893 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.8286, allocations: 43 kB / 0.8893 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001542/0.8301, allocations: 419.1 kB / 0.8897 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 4.268e-06/0.8301, allocations: 0 / 0.8897 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01768/0.8478, allocations: 3.833 MB / 0.8935 GB, free: 14.04 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.8479, allocations: 71.66 kB / 0.8935 GB, free: 13.96 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.8489, allocations: 0.7039 MB / 0.8942 GB, free: 13.25 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.8491, allocations: 37.7 kB / 0.8943 GB, free: 13.21 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.8493, allocations: 320.6 kB / 0.8946 GB, free: 12.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.8495, allocations: 173.4 kB / 0.8947 GB, free: 12.72 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.8498, allocations: 150 kB / 0.8949 GB, free: 12.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8499, allocations: 330 kB / 0.8952 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.8506, allocations: 404.1 kB / 0.8956 GB, free: 11.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.8513, allocations: 481.5 kB / 0.896 GB, free: 11.35 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.8528, allocations: 0.918 MB / 0.8969 GB, free: 10.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8529, allocations: 4 kB / 0.8969 GB, free: 10.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01139/0.8643, allocations: 2.556 MB / 0.8994 GB, free: 7.824 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.8643, allocations: 8 kB / 0.8994 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8643, allocations: 0 / 0.8994 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00972/0.8741, allocations: 1.735 MB / 0.9011 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.8746, allocations: 99.8 kB / 0.9012 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.8877, allocations: 7.133 MB / 0.9082 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.8886, allocations: 24.92 kB / 0.9082 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.8888, allocations: 48 kB / 0.9083 GB, free: 14.48 MB / 0.6856 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.0005052/0.8893, allocations: 214.5 kB / 0.9085 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.8896, allocations: 79.06 kB / 0.9085 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/0.8949, allocations: 1.738 MB / 0.9102 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.895, allocations: 4 kB / 0.9102 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.895, allocations: 4 kB / 0.9102 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.895, allocations: 7.984 kB / 0.9102 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.9011, allocations: 2.54 MB / 0.9127 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.9012, allocations: 0 / 0.9127 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.9016, allocations: 96.02 kB / 0.9128 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/0.905, allocations: 0.7899 MB / 0.9136 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.9051, allocations: 19.98 kB / 0.9136 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/0.9119, allocations: 4.866 MB / 0.9184 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.912, allocations: 0 / 0.9184 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.9175, allocations: 2.151 MB / 0.9205 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.918, allocations: 228 kB / 0.9207 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.9182, allocations: 16 kB / 0.9207 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006503/0.9189, allocations: 23.98 kB / 0.9207 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.9191, allocations: 56.38 kB / 0.9208 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.9191, allocations: 19.98 kB / 0.9208 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007116/0.9198, allocations: 0.499 MB / 0.9213 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9199, allocations: 0 / 0.9213 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001065/0.9209, allocations: 287.8 kB / 0.9216 GB, free: 424 kB / 0.6856 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.006182/0.9271, allocations: 2.803 MB / 0.9243 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003757/0.9309, allocations: 1.464 MB / 0.9257 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.9309, allocations: 4 kB / 0.9257 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.9329, allocations: 0.9108 MB / 0.9266 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.9354, allocations: 463.4 kB / 0.9271 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/0.9668, allocations: 10.45 MB / 0.9373 GB, free: 56 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.9674, allocations: 0.975 MB / 0.9382 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006228/0.968, allocations: 158.6 kB / 0.9384 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.9685, allocations: 283.3 kB / 0.9386 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.9685, allocations: 0 / 0.9386 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05996/1.028, allocations: 29.74 MB / 0.9677 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.86, allocations: 6.344 kB / 0.9677 GB, free: 1.238 MB / 0.7325 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)