Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",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.005311/0.005311, allocations: 98.38 kB / 15.73 MB, free: 6.445 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.00142/0.00142, allocations: 201.3 kB / 16.68 MB, free: 6.352 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 282.6 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 178.6 MB / 0.5074 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 101.5 kB / 0.6943 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4464, allocations: 89.15 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2159/0.6623, allocations: 198.6 MB / 0.9753 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.6739, allocations: 9.448 MB / 0.9845 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.6748, allocations: 15.94 kB / 0.9846 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.6765, allocations: 0.6059 MB / 0.9852 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.6812, allocations: 2.026 MB / 0.9871 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.6832, allocations: 0.7344 MB / 0.9878 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.6858, allocations: 2.104 MB / 0.9899 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009997/0.6868, allocations: 0.7712 MB / 0.9907 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.6892, allocations: 1.351 MB / 0.992 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008857/0.6901, allocations: 0.7315 MB / 0.9927 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.6902, allocations: 72 kB / 0.9928 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.6935, allocations: 1.941 MB / 0.9947 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.6939, allocations: 347 kB / 0.995 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005263/0.6945, allocations: 0.5054 MB / 0.9955 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.6971, allocations: 1.845 MB / 0.9973 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6971, allocations: 0 / 0.9973 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.667e-06/0.6972, allocations: 0 / 0.9973 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.6972, allocations: 7.938 kB / 0.9973 GB, free: 1.355 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003187/0.7004, allocations: 1.463 MB / 0.9987 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7004, allocations: 12.03 kB / 0.9987 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.7006, allocations: 118.5 kB / 0.9988 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005989/0.7012, allocations: 167.2 kB / 0.999 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.702, allocations: 0.5804 MB / 0.9996 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.7021, allocations: 54 kB / 0.9996 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.7022, allocations: 75.94 kB / 0.9997 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.7035, allocations: 0.8587 MB / 1.001 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.7035, allocations: 0 / 1.001 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.7036, allocations: 28 kB / 1.001 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.7036, allocations: 45.98 kB / 1.001 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.7049, allocations: 0.7845 MB / 1.001 GB, free: 13.05 MB / 0.7637 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.004959/0.7099, allocations: 4.511 MB / 1.006 GB, free: 8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.7106, allocations: 432.6 kB / 1.006 GB, free: 7.574 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.7109, allocations: 185.4 kB / 1.006 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/0.7116, allocations: 0.76 MB / 1.007 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.7117, allocations: 38.89 kB / 1.007 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=40): time 1.472e-06/0.7117, allocations: 0 / 1.007 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of matching and sorting (n=40): time 0.001241/0.7129, allocations: 0.6158 MB / 1.008 GB, free: 5.797 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.713, allocations: 55.41 kB / 1.008 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.714, allocations: 0.8719 MB / 1.009 GB, free: 4.848 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.714, allocations: 37.64 kB / 1.009 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.7143, allocations: 388.3 kB / 1.009 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.7145, allocations: 150.7 kB / 1.009 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.7146, allocations: 102.1 kB / 1.009 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7148, allocations: 326 kB / 1.01 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.7151, allocations: 189 kB / 1.01 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.7155, allocations: 277.5 kB / 1.01 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.7162, allocations: 454.6 kB / 1.01 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7162, allocations: 4 kB / 1.01 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009532/0.7172, allocations: 0.582 MB / 1.011 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7172, allocations: 8 kB / 1.011 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7172, allocations: 0 / 1.011 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.7173, allocations: 11.94 kB / 1.011 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.7177, allocations: 100.1 kB / 1.011 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7177, allocations: 4 kB / 1.011 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.7182, allocations: 79.39 kB / 1.011 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.7183, allocations: 27.98 kB / 1.011 GB, free: 2.07 MB / 0.7637 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 (57): * Single equations (assignments): 57 * 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.000268/0.7186, allocations: 237.7 kB / 1.012 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.7187, allocations: 83.48 kB / 1.012 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/0.7197, allocations: 0.5592 MB / 1.012 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.7197, allocations: 4 kB / 1.012 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7197, allocations: 0 / 1.012 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7197, allocations: 3.984 kB / 1.012 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.7227, allocations: 2.125 MB / 1.014 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.7228, allocations: 8 kB / 1.014 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.7231, allocations: 91.83 kB / 1.014 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.7232, allocations: 8.719 kB / 1.014 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.7232, allocations: 20 kB / 1.014 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.7232, allocations: 15.98 kB / 1.014 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.7232, allocations: 7.938 kB / 1.014 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.7245, allocations: 0.9916 MB / 1.015 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.7248, allocations: 216.4 kB / 1.016 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7249, allocations: 16 kB / 1.016 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.7254, allocations: 19.98 kB / 1.016 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.7255, allocations: 55.83 kB / 1.016 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.7255, allocations: 23.94 kB / 1.016 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000733/0.7262, allocations: 0.6277 MB / 1.016 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7262, allocations: 0 / 1.016 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006454/0.7269, allocations: 247.6 kB / 1.016 GB, free: 12.43 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.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 (48): * Single equations (assignments): 48 * 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.001981/0.7289, allocations: 1.656 MB / 1.018 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007871/0.7297, allocations: 458.5 kB / 1.019 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7297, allocations: 0 / 1.019 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.7301, allocations: 233 kB / 1.019 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.7322, allocations: 491 kB / 1.019 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00839/0.7406, allocations: 6.609 MB / 1.026 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.7412, allocations: 1.008 MB / 1.027 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006046/0.7418, allocations: 187 kB / 1.027 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.7422, allocations: 291.3 kB / 1.027 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.7422, allocations: 0 / 1.027 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.7944, allocations: 24.32 MB / 1.051 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.081/9.876, allocations: 10.42 kB / 1.051 GB, free: 9.156 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)