Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.008128/0.008128, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.002028/0.002029, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8407/0.8407, allocations: 135.1 MB / 425.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.38 kB / 0.5851 GB, free: 22.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 80.93 MB / 0.6641 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5752/0.7312, allocations: 202 MB / 0.8614 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.7422, allocations: 7.377 MB / 0.8686 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.7435, allocations: 35.81 kB / 0.8686 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.7453, allocations: 0.7226 MB / 0.8693 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00551/0.7508, allocations: 2.484 MB / 0.8717 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.7535, allocations: 1.248 MB / 0.873 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003179/0.7567, allocations: 2.905 MB / 0.8758 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.7579, allocations: 0.9508 MB / 0.8767 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.7595, allocations: 1.059 MB / 0.8778 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.7612, allocations: 0.9642 MB / 0.8787 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.7614, allocations: 115.9 kB / 0.8788 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.7653, allocations: 2.139 MB / 0.8809 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.7657, allocations: 446.8 kB / 0.8813 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007375/0.7664, allocations: 0.6728 MB / 0.882 GB, free: 444 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.7699, allocations: 2.404 MB / 0.8843 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7699, allocations: 0 / 0.8843 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7699, allocations: 0 / 0.8843 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.7699, allocations: 0 / 0.8843 GB, free: 14.02 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003572/0.7735, allocations: 1.628 MB / 0.8859 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.7736, allocations: 9.109 kB / 0.8859 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.7737, allocations: 139.3 kB / 0.8861 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.7763, allocations: 374.2 kB / 0.8864 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.7781, allocations: 0.8551 MB / 0.8873 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.7782, allocations: 66 kB / 0.8873 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.7783, allocations: 87.98 kB / 0.8874 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.7801, allocations: 1.03 MB / 0.8884 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.7801, allocations: 4 kB / 0.8884 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.7802, allocations: 39.98 kB / 0.8884 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.7803, allocations: 49.92 kB / 0.8885 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.7818, allocations: 0.8744 MB / 0.8893 GB, free: 8.738 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.004619/0.7864, allocations: 4.284 MB / 0.8935 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.7874, allocations: 0.6872 MB / 0.8942 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.7882, allocations: 459 kB / 0.8946 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.7888, allocations: 0.681 MB / 0.8953 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.7888, allocations: 43.12 kB / 0.8953 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 1.071e-05/0.7889, allocations: 0 / 0.8953 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001796/0.7907, allocations: 0.9977 MB / 0.8963 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.7907, allocations: 59.91 kB / 0.8964 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.7914, allocations: 0.6295 MB / 0.897 GB, free: 376 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.7915, allocations: 45.69 kB / 0.897 GB, free: 324 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.7918, allocations: 432.1 kB / 0.8974 GB, free: 15.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.792, allocations: 244.3 kB / 0.8977 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.7922, allocations: 122.2 kB / 0.8978 GB, free: 15.52 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7924, allocations: 386.8 kB / 0.8982 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/0.7929, allocations: 277.1 kB / 0.8984 GB, free: 14.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.7934, allocations: 366.8 kB / 0.8988 GB, free: 14.47 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.7944, allocations: 0.6626 MB / 0.8994 GB, free: 13.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.7944, allocations: 4 kB / 0.8994 GB, free: 13.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001192/0.7956, allocations: 0.7815 MB / 0.9002 GB, free: 13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7956, allocations: 4 kB / 0.9002 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7956, allocations: 9.156 kB / 0.9002 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7957, allocations: 4 kB / 0.9002 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.7963, allocations: 147.8 kB / 0.9004 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.7963, allocations: 8.812 kB / 0.9004 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.797, allocations: 57.66 kB / 0.9004 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.7971, allocations: 24 kB / 0.9004 GB, free: 12.75 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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 0.0003396/0.7974, allocations: 285.7 kB / 0.9007 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.7976, allocations: 87.05 kB / 0.9008 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.7988, allocations: 0.7895 MB / 0.9016 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.7989, allocations: 8 kB / 0.9016 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.7989, allocations: 4 kB / 0.9016 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009983/0.7999, allocations: 0.8163 MB / 0.9024 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.8022, allocations: 1.837 MB / 0.9042 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.8022, allocations: 4 kB / 0.9042 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/0.8031, allocations: 171.8 kB / 0.9043 GB, free: 8.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.8031, allocations: 8 kB / 0.9043 GB, free: 8.625 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.8031, allocations: 15.94 kB / 0.9044 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.8031, allocations: 4 kB / 0.9044 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8031, allocations: 4.547 kB / 0.9044 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.8049, allocations: 1.277 MB / 0.9056 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.8052, allocations: 243.9 kB / 0.9058 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.8053, allocations: 12 kB / 0.9059 GB, free: 7.035 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.8059, allocations: 37.98 kB / 0.9059 GB, free: 7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.806, allocations: 40.5 kB / 0.9059 GB, free: 6.961 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.806, allocations: 24 kB / 0.906 GB, free: 6.938 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004926/0.8065, allocations: 455 kB / 0.9064 GB, free: 6.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8066, allocations: 0 / 0.9064 GB, free: 6.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007555/0.8073, allocations: 339.2 kB / 0.9067 GB, free: 6.168 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (70): * Single equations (assignments): 70 * 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.002123/0.8094, allocations: 1.915 MB / 0.9086 GB, free: 4.227 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.8105, allocations: 0.6757 MB / 0.9092 GB, free: 3.551 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.8105, allocations: 4.375 kB / 0.9092 GB, free: 3.547 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.811, allocations: 375 kB / 0.9096 GB, free: 3.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.813, allocations: 0.5484 MB / 0.9101 GB, free: 2.645 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008702/0.8217, allocations: 6.884 MB / 0.9169 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.8224, allocations: 1.096 MB / 0.9179 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007624/0.8231, allocations: 223.2 kB / 0.9181 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.8236, allocations: 367.3 kB / 0.9185 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/0.8236, allocations: 0 / 0.9185 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/0.8725, allocations: 25.36 MB / 0.9433 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.423/10.3, allocations: 4.531 kB / 0.9433 GB, free: 0.832 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)