Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.0008602/0.0008604, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005338/0.005338, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.9178/0.9178, allocations: 143.2 MB / 434.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002781, allocations: 12 kB / 0.5165 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 83.41 MB / 0.598 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3633/0.4946, allocations: 151 MB / 0.7455 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03872/0.5333, allocations: 30.18 MB / 0.7749 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004921/0.5383, allocations: 119.2 kB / 0.7751 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.5413, allocations: 0.8194 MB / 0.7759 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008426/0.5498, allocations: 2.898 MB / 0.7787 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.5551, allocations: 2.299 MB / 0.7809 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007589/0.5627, allocations: 7.402 MB / 0.7882 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.565, allocations: 1.855 MB / 0.79 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.569, allocations: 2.36 MB / 0.7923 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.5713, allocations: 1.91 MB / 0.7941 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.5715, allocations: 99.94 kB / 0.7942 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.5733, allocations: 0.9319 MB / 0.7951 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.5737, allocations: 441.8 kB / 0.7956 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009968/0.5747, allocations: 1.144 MB / 0.7967 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.5774, allocations: 3.281 MB / 0.7999 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5775, allocations: 0 / 0.7999 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5775, allocations: 0 / 0.7999 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.097e-05/0.5775, allocations: 4 kB / 0.7999 GB, free: 13.14 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003703/0.5812, allocations: 2.354 MB / 0.8022 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5812, allocations: 8.031 kB / 0.8022 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.5814, allocations: 181.4 kB / 0.8024 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.5818, allocations: 264.8 kB / 0.8026 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.5836, allocations: 1.442 MB / 0.804 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.5837, allocations: 102.3 kB / 0.8041 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.5839, allocations: 140 kB / 0.8043 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.5857, allocations: 1.163 MB / 0.8054 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5857, allocations: 3.938 kB / 0.8054 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5859, allocations: 52 kB / 0.8055 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.5859, allocations: 28 kB / 0.8055 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.5875, allocations: 1.02 MB / 0.8065 GB, free: 6.211 MB / 0.6231 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.008133/0.5957, allocations: 6.367 MB / 0.8127 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.5965, allocations: 0.5687 MB / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.5971, allocations: 395.5 kB / 0.8136 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/0.5975, allocations: 0.5069 MB / 0.8141 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5975, allocations: 35.12 kB / 0.8142 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001195/0.5987, allocations: 338.7 kB / 0.8145 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 2.314e-06/0.5987, allocations: 0 / 0.8145 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.001804/0.6005, allocations: 1.141 MB / 0.8156 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.6006, allocations: 55.97 kB / 0.8156 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.6027, allocations: 1.9 MB / 0.8175 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.472e-05/0.6028, allocations: 49.7 kB / 0.8175 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/0.6035, allocations: 0.9185 MB / 0.8184 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.6036, allocations: 201 kB / 0.8186 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.6038, allocations: 117.6 kB / 0.8187 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6039, allocations: 357.9 kB / 0.8191 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.6046, allocations: 434.4 kB / 0.8195 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.6055, allocations: 0.6762 MB / 0.8202 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.6069, allocations: 0.9539 MB / 0.8211 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6069, allocations: 0 / 0.8211 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002092/0.609, allocations: 1.393 MB / 0.8225 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.6091, allocations: 183.4 kB / 0.8226 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6092, allocations: 7.938 kB / 0.8226 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6092, allocations: 11.94 kB / 0.8226 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6103, allocations: 287.5 kB / 0.8229 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.6103, allocations: 13.34 kB / 0.8229 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.6117, allocations: 151.5 kB / 0.8231 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6118, allocations: 59.95 kB / 0.8231 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.6118, allocations: 4 kB / 0.8231 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001754/0.6136, allocations: 1.128 MB / 0.8242 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6136, allocations: 4 kB / 0.8242 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.6136, allocations: 8 kB / 0.8243 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.6146, allocations: 271.6 kB / 0.8245 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.6147, allocations: 8 kB / 0.8245 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.616, allocations: 148.9 kB / 0.8247 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.6161, allocations: 59.95 kB / 0.8247 GB, free: 2.68 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0007356/0.6168, allocations: 448.7 kB / 0.8251 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.6171, allocations: 197.5 kB / 0.8253 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.619, allocations: 1.078 MB / 0.8264 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.619, allocations: 8 kB / 0.8264 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.619, allocations: 0 / 0.8264 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.619, allocations: 3.984 kB / 0.8264 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.6224, allocations: 2.417 MB / 0.8288 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.6225, allocations: 8.188 kB / 0.8288 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.623, allocations: 151.7 kB / 0.8289 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.623, allocations: 4.094 kB / 0.8289 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.6231, allocations: 19.98 kB / 0.8289 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.6231, allocations: 7.938 kB / 0.8289 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6231, allocations: 3.984 kB / 0.8289 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.6245, allocations: 1.062 MB / 0.83 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.6251, allocations: 382.1 kB / 0.8303 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.6253, allocations: 20 kB / 0.8304 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/0.6262, allocations: 99.66 kB / 0.8305 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.6263, allocations: 52.53 kB / 0.8305 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.6264, allocations: 23.98 kB / 0.8305 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001555/0.6279, allocations: 1.252 MB / 0.8318 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6279, allocations: 0 / 0.8318 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001931/0.6299, allocations: 0.8927 MB / 0.8326 GB, free: 10.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002133/0.632, allocations: 1.855 MB / 0.8344 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002502/0.6345, allocations: 1.579 MB / 0.836 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6346, allocations: 3.938 kB / 0.836 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.6351, allocations: 403.5 kB / 0.8364 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005568/0.6407, allocations: 1.151 MB / 0.8375 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/0.6635, allocations: 15.74 MB / 0.8529 GB, free: 4.484 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009097/0.6645, allocations: 1.405 MB / 0.8542 GB, free: 3.047 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001733/0.6662, allocations: 393 kB / 0.8546 GB, free: 2.664 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009909/0.6672, allocations: 0.8344 MB / 0.8554 GB, free: 1.832 MB / 0.67 GB Notification: Performance of SimCode: time 7.31e-07/0.6672, allocations: 0 / 0.8554 GB, free: 1.832 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3542/1.021, allocations: 54.09 MB / 0.9083 GB, free: 193.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.022, allocations: 275.2 kB / 0.9085 GB, free: 192.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.181/4.203, allocations: 5.25 kB / 0.9085 GB, free: 192.7 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)