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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004484/0.004484, allocations: 105.9 kB / 15.73 MB, free: 6 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.001094/0.001094, allocations: 189 kB / 16.67 MB, free: 5.926 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002088, allocations: 296.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9008/0.9008, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 95.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4104, allocations: 86.97 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.186/0.5964, allocations: 192.6 MB / 0.954 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.43/1.026, allocations: 4.01 MB / 0.9579 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/1.028, allocations: 20.41 kB / 0.9579 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/1.029, allocations: 486.2 kB / 0.9584 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004914/1.034, allocations: 1.597 MB / 0.96 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005292/1.039, allocations: 1.368 MB / 0.9613 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003118/1.043, allocations: 1.641 MB / 0.9629 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/1.044, allocations: 0.9503 MB / 0.9638 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/1.046, allocations: 0.9371 MB / 0.9647 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/1.047, allocations: 0.8527 MB / 0.9656 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/1.048, allocations: 94.5 kB / 0.9657 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/1.05, allocations: 1.32 MB / 0.967 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/1.051, allocations: 356 kB / 0.9673 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000658/1.051, allocations: 0.5143 MB / 0.9678 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/1.054, allocations: 1.637 MB / 0.9694 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.054, allocations: 2.656 kB / 0.9694 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/1.054, allocations: 1.125 kB / 0.9694 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.24e-05/1.054, allocations: 1.094 kB / 0.9694 GB, free: 1.617 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.002941/1.057, allocations: 1.442 MB / 0.9708 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.057, allocations: 10.72 kB / 0.9708 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/1.057, allocations: 94.47 kB / 0.9709 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/1.059, allocations: 238.2 kB / 0.9711 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009358/1.06, allocations: 0.6056 MB / 0.9717 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.06, allocations: 41.44 kB / 0.9718 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.06, allocations: 55.81 kB / 0.9718 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/1.061, allocations: 0.9601 MB / 0.9728 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/1.061, allocations: 5.75 kB / 0.9728 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/1.061, allocations: 22.22 kB / 0.9728 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/1.062, allocations: 28.72 kB / 0.9728 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/1.063, allocations: 0.9373 MB / 0.9737 GB, free: 16.34 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.004633/1.067, allocations: 4.261 MB / 0.9779 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/1.068, allocations: 0.6011 MB / 0.9785 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/1.069, allocations: 0.5168 MB / 0.979 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/1.07, allocations: 0.8763 MB / 0.9798 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.07, allocations: 38.81 kB / 0.9799 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001378/1.071, allocations: 423.3 kB / 0.9803 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 4.539e-06/1.071, allocations: 0 / 0.9803 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.0163/1.088, allocations: 3.839 MB / 0.984 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.088, allocations: 56.94 kB / 0.9841 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/1.089, allocations: 0.7172 MB / 0.9848 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/1.089, allocations: 32.7 kB / 0.9848 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/1.089, allocations: 323.2 kB / 0.9851 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.089, allocations: 175.1 kB / 0.9853 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/1.089, allocations: 149.4 kB / 0.9854 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/1.089, allocations: 329.5 kB / 0.9857 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/1.09, allocations: 392.7 kB / 0.9861 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/1.091, allocations: 489.7 kB / 0.9866 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.092, allocations: 0.9202 MB / 0.9875 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/1.092, allocations: 3.5 kB / 0.9875 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01017/1.102, allocations: 2.559 MB / 0.99 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.102, allocations: 7.938 kB / 0.99 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.102, allocations: 7.688 kB / 0.99 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008613/1.111, allocations: 1.73 MB / 0.9917 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/1.111, allocations: 96.47 kB / 0.9918 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/1.123, allocations: 7.143 MB / 0.9988 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/1.123, allocations: 24 kB / 0.9988 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/1.124, allocations: 43.98 kB / 0.9988 GB, free: 8.699 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.000356/1.124, allocations: 213.7 kB / 0.999 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/1.124, allocations: 83.06 kB / 0.9991 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/1.129, allocations: 1.724 MB / 1.001 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.129, allocations: 10.81 kB / 1.001 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.129, allocations: 3.594 kB / 1.001 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.129, allocations: 7 kB / 1.001 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/1.134, allocations: 2.535 MB / 1.003 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.134, allocations: 1.688 kB / 1.003 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/1.134, allocations: 94.42 kB / 1.003 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/1.138, allocations: 0.7965 MB / 1.004 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.138, allocations: 13.5 kB / 1.004 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006088/1.144, allocations: 4.859 MB / 1.009 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.144, allocations: 7.484 kB / 1.009 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/1.149, allocations: 2.143 MB / 1.011 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/1.149, allocations: 233.7 kB / 1.011 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.15, allocations: 12.62 kB / 1.011 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/1.15, allocations: 20.11 kB / 1.011 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/1.15, allocations: 60.75 kB / 1.011 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/1.15, allocations: 19.59 kB / 1.011 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006459/1.151, allocations: 0.4969 MB / 1.012 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.151, allocations: 0 / 1.012 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009943/1.152, allocations: 296.1 kB / 1.012 GB, free: 4.625 MB / 0.7325 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.005421/1.157, allocations: 2.807 MB / 1.015 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003457/1.161, allocations: 1.472 MB / 1.016 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.161, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.163, allocations: 0.9205 MB / 1.017 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.165, allocations: 456.4 kB / 1.018 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/1.193, allocations: 10.43 MB / 1.028 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/1.194, allocations: 0.9796 MB / 1.029 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007473/1.194, allocations: 167.7 kB / 1.029 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/1.195, allocations: 284 kB / 1.029 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/1.195, allocations: 0 / 1.029 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/1.252, allocations: 29.68 MB / 1.058 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.89, allocations: 12.34 kB / 1.058 GB, free: 2.516 MB / 0.7637 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)