Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",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.008641/0.008641, allocations: 99.91 kB / 15.73 MB, free: 6.023 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.001759/0.001759, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 283 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9989/0.9989, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 95.86 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1907, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6016/0.7923, allocations: 173.8 MB / 0.9356 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.7967, allocations: 2.305 MB / 0.9379 GB, free: 3 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004978/0.7972, allocations: 15.94 kB / 0.9379 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008196/0.7981, allocations: 234.3 kB / 0.9381 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.8004, allocations: 0.9294 MB / 0.939 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.8024, allocations: 0.8285 MB / 0.9398 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.8036, allocations: 0.9585 MB / 0.9408 GB, free: 36 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.8041, allocations: 337.8 kB / 0.9411 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.8047, allocations: 454.2 kB / 0.9415 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.8051, allocations: 318.7 kB / 0.9418 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.8052, allocations: 32 kB / 0.9418 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.8068, allocations: 0.9898 MB / 0.9428 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.807, allocations: 155.5 kB / 0.943 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.8072, allocations: 234.9 kB / 0.9432 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.8084, allocations: 0.9076 MB / 0.9441 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8084, allocations: 4 kB / 0.9441 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8085, allocations: 0 / 0.9441 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.8085, allocations: 0 / 0.9441 GB, free: 12.63 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001193/0.8097, allocations: 0.8021 MB / 0.9449 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.8097, allocations: 23.95 kB / 0.9449 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.65e-05/0.8098, allocations: 63.23 kB / 0.9449 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.811, allocations: 179.2 kB / 0.9451 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006469/0.8117, allocations: 393.3 kB / 0.9455 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.8117, allocations: 28.64 kB / 0.9455 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.8118, allocations: 31.94 kB / 0.9455 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.8124, allocations: 369.1 kB / 0.9459 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.8124, allocations: 3.938 kB / 0.9459 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.8125, allocations: 18.62 kB / 0.9459 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.8125, allocations: 11.94 kB / 0.9459 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.813, allocations: 258 kB / 0.9462 GB, free: 10.35 MB / 0.7012 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.001664/0.8146, allocations: 1.668 MB / 0.9478 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.815, allocations: 202.5 kB / 0.948 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.8152, allocations: 112.8 kB / 0.9481 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009566/0.8162, allocations: 0.8662 MB / 0.949 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.8162, allocations: 42.61 kB / 0.949 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.8162, allocations: 3.938 kB / 0.949 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0008584/0.8171, allocations: 368.3 kB / 0.9493 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.8172, allocations: 51.41 kB / 0.9494 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.8176, allocations: 425.9 kB / 0.9498 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.8176, allocations: 29.7 kB / 0.9498 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.8178, allocations: 220.2 kB / 0.95 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.8179, allocations: 78.84 kB / 0.9501 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.818, allocations: 49.7 kB / 0.9502 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8181, allocations: 354.7 kB / 0.9505 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.8183, allocations: 75.95 kB / 0.9506 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.8185, allocations: 134.8 kB / 0.9507 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.8189, allocations: 206.1 kB / 0.9509 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8189, allocations: 0 / 0.9509 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004895/0.8194, allocations: 285 kB / 0.9512 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8194, allocations: 8 kB / 0.9512 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8194, allocations: 0 / 0.9512 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.8195, allocations: 4 kB / 0.9512 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.8197, allocations: 55.91 kB / 0.9512 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8197, allocations: 0 / 0.9512 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.8199, allocations: 39.61 kB / 0.9513 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.82, allocations: 5 kB / 0.9513 GB, free: 4.711 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001703/0.8202, allocations: 166.4 kB / 0.9514 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.8202, allocations: 39.53 kB / 0.9515 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/0.8208, allocations: 288.7 kB / 0.9518 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.8208, allocations: 4 kB / 0.9518 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8208, allocations: 0 / 0.9518 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8208, allocations: 11.86 kB / 0.9518 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.8219, allocations: 0.8035 MB / 0.9526 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8219, allocations: 4 kB / 0.9526 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.8222, allocations: 47.92 kB / 0.9526 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.8222, allocations: 4.188 kB / 0.9526 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.8222, allocations: 7.984 kB / 0.9526 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8222, allocations: 4 kB / 0.9526 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8222, allocations: 0 / 0.9526 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.823, allocations: 0.513 MB / 0.9531 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.8231, allocations: 144.6 kB / 0.9533 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.8232, allocations: 11.94 kB / 0.9533 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.8234, allocations: 15.98 kB / 0.9533 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.8235, allocations: 19.97 kB / 0.9533 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.8235, allocations: 12 kB / 0.9533 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002934/0.8238, allocations: 307 kB / 0.9536 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8238, allocations: 0 / 0.9536 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004224/0.8243, allocations: 111.8 kB / 0.9537 GB, free: 2.082 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001239/0.8255, allocations: 1.133 MB / 0.9548 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.826, allocations: 207.8 kB / 0.955 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.826, allocations: 4 kB / 0.955 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.8262, allocations: 117.8 kB / 0.9551 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.8272, allocations: 232.8 kB / 0.9554 GB, free: 388 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/0.8317, allocations: 3.672 MB / 0.9589 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.8321, allocations: 0.8272 MB / 0.9597 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002899/0.8324, allocations: 79.34 kB / 0.9598 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.8326, allocations: 143.4 kB / 0.96 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.8326, allocations: 0 / 0.96 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.8674, allocations: 12.29 MB / 0.972 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.984, allocations: 16.39 kB / 0.972 GB, free: 15.44 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)