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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(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.001039/0.001039, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001364/0.001364, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.201/1.201, allocations: 143.4 MB / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004389, allocations: 15.98 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2378, allocations: 83.41 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5961/0.834, allocations: 142.7 MB / 0.7369 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04717/0.8812, allocations: 28.66 MB / 0.7649 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007657/0.8889, allocations: 119.2 kB / 0.765 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004529/0.8935, allocations: 0.6867 MB / 0.7656 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01217/0.9057, allocations: 2.514 MB / 0.7681 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007547/0.9133, allocations: 2.008 MB / 0.7701 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01126/0.9245, allocations: 6.249 MB / 0.7762 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005195/0.9298, allocations: 1.669 MB / 0.7778 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007619/0.9374, allocations: 2.216 MB / 0.78 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004322/0.9418, allocations: 1.79 MB / 0.7817 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009263/0.9427, allocations: 100 kB / 0.7818 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004278/0.947, allocations: 0.8501 MB / 0.7826 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.9484, allocations: 414 kB / 0.783 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.9501, allocations: 472.5 kB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.9551, allocations: 2.565 MB / 0.786 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.9551, allocations: 0 / 0.786 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9551, allocations: 3.938 kB / 0.786 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001658/0.9553, allocations: 0 / 0.786 GB, free: 10.91 MB / 0.6075 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.007546/0.9629, allocations: 2.378 MB / 0.7883 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.9629, allocations: 8.031 kB / 0.7883 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007601/0.9637, allocations: 177.4 kB / 0.7885 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.9649, allocations: 264.8 kB / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/0.969, allocations: 1.369 MB / 0.7901 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.9692, allocations: 102.3 kB / 0.7902 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005886/0.9698, allocations: 143.2 kB / 0.7903 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.9736, allocations: 1.156 MB / 0.7914 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.9737, allocations: 0 / 0.7914 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.9739, allocations: 51.89 kB / 0.7915 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.974, allocations: 28 kB / 0.7915 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.9766, allocations: 1.02 MB / 0.7925 GB, free: 4.055 MB / 0.6075 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.01286/0.9895, allocations: 6.356 MB / 0.7987 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.9906, allocations: 0.5759 MB / 0.7993 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/0.9913, allocations: 383.9 kB / 0.7996 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/0.9918, allocations: 0.5031 MB / 0.8001 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.9918, allocations: 39.12 kB / 0.8002 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001673/0.9935, allocations: 338.7 kB / 0.8005 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 6.732e-06/0.9935, allocations: 4 kB / 0.8005 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002424/0.996, allocations: 1.133 MB / 0.8016 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.996, allocations: 59.97 kB / 0.8017 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.9991, allocations: 1.877 MB / 0.8035 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.9993, allocations: 49.7 kB / 0.8035 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009224/1, allocations: 0.9146 MB / 0.8044 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/1, allocations: 205 kB / 0.8046 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.001, allocations: 20 kB / 0.8046 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.001, allocations: 354.1 kB / 0.805 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/1.002, allocations: 410.4 kB / 0.8054 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.003, allocations: 0.6488 MB / 0.806 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.004, allocations: 0.4904 MB / 0.8065 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.004, allocations: 4 kB / 0.8065 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00259/1.006, allocations: 1.338 MB / 0.8078 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/1.006, allocations: 183.7 kB / 0.808 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.006, allocations: 11.98 kB / 0.808 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/1.007, allocations: 8 kB / 0.808 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.008, allocations: 275.6 kB / 0.8083 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.554e-05/1.008, allocations: 11.95 kB / 0.8083 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.01, allocations: 148.4 kB / 0.8084 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/1.01, allocations: 67.94 kB / 0.8085 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.01, allocations: 4 kB / 0.8085 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002071/1.012, allocations: 1.12 MB / 0.8096 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.012, allocations: 4 kB / 0.8096 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.012, allocations: 8 kB / 0.8096 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.013, allocations: 279.6 kB / 0.8099 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.042e-05/1.013, allocations: 11.94 kB / 0.8099 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.015, allocations: 143.7 kB / 0.81 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.015, allocations: 53.2 kB / 0.81 GB, free: 1.289 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001107/1.016, allocations: 452.7 kB / 0.8105 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/1.017, allocations: 197.5 kB / 0.8107 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/1.019, allocations: 1.082 MB / 0.8117 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/1.019, allocations: 8 kB / 0.8117 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.019, allocations: 0 / 0.8117 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.019, allocations: 3.984 kB / 0.8117 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/1.024, allocations: 2.421 MB / 0.8141 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/1.024, allocations: 7.422 kB / 0.8141 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/1.025, allocations: 140 kB / 0.8142 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/1.025, allocations: 4 kB / 0.8142 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/1.025, allocations: 19.98 kB / 0.8143 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/1.025, allocations: 4 kB / 0.8143 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.025, allocations: 3.953 kB / 0.8143 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/1.027, allocations: 1.058 MB / 0.8153 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008746/1.028, allocations: 382.1 kB / 0.8157 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/1.028, allocations: 16 kB / 0.8157 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.029, allocations: 99.75 kB / 0.8158 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.03, allocations: 52.48 kB / 0.8158 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/1.03, allocations: 23.98 kB / 0.8159 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002566/1.032, allocations: 1.236 MB / 0.8171 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 0.8171 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003707/1.036, allocations: 0.8887 MB / 0.8179 GB, free: 9.051 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004141/1.04, allocations: 1.835 MB / 0.8197 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004205/1.044, allocations: 1.552 MB / 0.8212 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.044, allocations: 3.938 kB / 0.8212 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/1.045, allocations: 403.5 kB / 0.8216 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007337/1.053, allocations: 1.143 MB / 0.8227 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/1.086, allocations: 11.19 MB / 0.8337 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.088, allocations: 1.409 MB / 0.835 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003072/1.091, allocations: 418 kB / 0.8354 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/1.093, allocations: 0.8234 MB / 0.8363 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of SimCode: time 3.116e-06/1.093, allocations: 0 / 0.8363 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4924/1.586, allocations: 53.92 MB / 0.8889 GB, free: 196.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.586, allocations: 266.3 kB / 0.8892 GB, free: 196.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/5.64, allocations: 0 / 0.8892 GB, free: 196.5 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/linux/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) Environment - environmentSimulation: