Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",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.006917/0.006917, allocations: 103 kB / 15.73 MB, free: 6.059 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.001179/0.001179, allocations: 200.1 kB / 16.68 MB, free: 5.977 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.317/1.317, 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.8534/0.8534, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.88 kB / 0.595 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5317/0.6797, allocations: 170.4 MB / 0.8415 GB, free: 236 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007038/0.6868, allocations: 6.009 MB / 0.8474 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.6872, allocations: 11.25 kB / 0.8474 GB, free: 11.36 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.6879, allocations: 189.7 kB / 0.8476 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.6883, allocations: 83.59 kB / 0.8477 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.6896, allocations: 0.5246 MB / 0.8482 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.6902, allocations: 411.3 kB / 0.8486 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.6905, allocations: 133.3 kB / 0.8487 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.6909, allocations: 204 kB / 0.8489 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.6911, allocations: 145.6 kB / 0.849 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.6912, allocations: 18.92 kB / 0.8491 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007719/0.692, allocations: 452.2 kB / 0.8495 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.6921, allocations: 70.22 kB / 0.8496 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.6922, allocations: 111.8 kB / 0.8497 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.6928, allocations: 453.7 kB / 0.8501 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6929, allocations: 6.391 kB / 0.8501 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6929, allocations: 0 / 0.8501 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.6929, allocations: 0 / 0.8501 GB, free: 9.551 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000616/0.6935, allocations: 0.5294 MB / 0.8506 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6936, allocations: 11.44 kB / 0.8506 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.6936, allocations: 58.02 kB / 0.8507 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.6939, allocations: 43.48 kB / 0.8507 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.6943, allocations: 265.8 kB / 0.851 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.6944, allocations: 126.3 kB / 0.8511 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.6945, allocations: 23.38 kB / 0.8511 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.6949, allocations: 295.9 kB / 0.8514 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6949, allocations: 3.938 kB / 0.8514 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.6949, allocations: 10.12 kB / 0.8514 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.6949, allocations: 7.25 kB / 0.8514 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.6952, allocations: 160.1 kB / 0.8516 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.6966, allocations: 1.582 MB / 0.8531 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.863e-05/0.6967, allocations: 171.7 kB / 0.8533 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.6967, allocations: 80.14 kB / 0.8534 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.6967, allocations: 75.28 kB / 0.8534 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.6968, allocations: 116.6 kB / 0.8535 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.6968, allocations: 0 / 0.8535 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.6969, allocations: 48.83 kB / 0.8536 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.697, allocations: 126.7 kB / 0.8537 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.6973, allocations: 311.3 kB / 0.854 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.6973, allocations: 29.7 kB / 0.854 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6974, allocations: 188.4 kB / 0.8542 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.6974, allocations: 11.94 kB / 0.8542 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.6975, allocations: 44.95 kB / 0.8543 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6976, allocations: 327.7 kB / 0.8546 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.6977, allocations: 40.09 kB / 0.8546 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.6979, allocations: 159 kB / 0.8548 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.6981, allocations: 205.5 kB / 0.855 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6981, allocations: 0 / 0.855 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003796/0.6985, allocations: 217.1 kB / 0.8552 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6985, allocations: 13.31 kB / 0.8552 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6985, allocations: 4.812 kB / 0.8552 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6985, allocations: 4.719 kB / 0.8552 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.6987, allocations: 42.44 kB / 0.8552 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.6987, allocations: 12.09 kB / 0.8553 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.6989, allocations: 29.88 kB / 0.8553 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.6989, allocations: 7.75 kB / 0.8553 GB, free: 4.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001254/0.6991, allocations: 224.4 kB / 0.8555 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.6991, allocations: 123.1 kB / 0.8556 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.6992, allocations: 125.6 kB / 0.8557 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/0.6993, allocations: 176.3 kB / 0.8559 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/0.6993, allocations: 184.2 kB / 0.8561 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/0.6994, allocations: 182.8 kB / 0.8563 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.6997, allocations: 487 kB / 0.8567 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/0.6997, allocations: 111.1 kB / 0.8568 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.6997, allocations: 101.1 kB / 0.8569 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.723e-05/0.6998, allocations: 187.1 kB / 0.8571 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.6999, allocations: 184.2 kB / 0.8573 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.111e-05/0.6999, allocations: 176.3 kB / 0.8574 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-05/0.7, allocations: 190 kB / 0.8576 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.7001, allocations: 318 kB / 0.8579 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.7002, allocations: 205.7 kB / 0.8581 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.478e-05/0.7003, allocations: 186.3 kB / 0.8583 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.7005, allocations: 112.9 kB / 0.8584 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.7005, allocations: 178.5 kB / 0.8586 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.7005, allocations: 101 kB / 0.8587 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002321/0.7008, allocations: 224.9 kB / 0.8589 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7008, allocations: 2.094 kB / 0.8589 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003556/0.7012, allocations: 52.38 kB / 0.8589 GB, free: 0.9258 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0005255/0.7017, allocations: 0.8629 MB / 0.8598 GB, free: 88 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.7019, allocations: 78.38 kB / 0.8599 GB, free: 52 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.7019, allocations: 1.25 kB / 0.8599 GB, free: 52 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.7019, allocations: 2.75 kB / 0.8599 GB, free: 52 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.7024, allocations: 479.2 kB / 0.8603 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.705, allocations: 2.51 MB / 0.8628 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.7053, allocations: 0.732 MB / 0.8635 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.7054, allocations: 37.92 kB / 0.8635 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.7055, allocations: 59.42 kB / 0.8636 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.7055, allocations: 3.938 kB / 0.8636 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.7249, allocations: 4.131 MB / 0.8676 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.473, allocations: 14.61 kB / 0.8676 GB, free: 8.227 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)