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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6995/0.6995, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 188.5 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205 MB / 408.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009583/0.0009584, allocations: 97.89 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 56 kB / 0.558 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1299, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4359/0.5658, allocations: 161.5 MB / 0.7894 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04298/0.6089, allocations: 35.02 MB / 0.8236 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0077/0.6166, allocations: 148.6 kB / 0.8238 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.6194, allocations: 0.8236 MB / 0.8246 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007502/0.627, allocations: 2.852 MB / 0.8274 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005027/0.632, allocations: 2.218 MB / 0.8295 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006764/0.6388, allocations: 7.409 MB / 0.8368 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003325/0.6422, allocations: 1.865 MB / 0.8386 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/0.6474, allocations: 2.411 MB / 0.8409 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.651, allocations: 1.933 MB / 0.8428 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.6517, allocations: 120 kB / 0.8429 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.6549, allocations: 0.9709 MB / 0.8439 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00089/0.6558, allocations: 454 kB / 0.8443 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.6582, allocations: 1.135 MB / 0.8454 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.6617, allocations: 3.235 MB / 0.8486 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6618, allocations: 0 / 0.8486 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.91e-07/0.6618, allocations: 0 / 0.8486 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.191e-05/0.6618, allocations: 0 / 0.8486 GB, free: 6.414 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004201/0.666, allocations: 2.689 MB / 0.8512 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6661, allocations: 12.03 kB / 0.8512 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.6664, allocations: 249 kB / 0.8515 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.6684, allocations: 1.405 MB / 0.8528 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.6684, allocations: 94.25 kB / 0.8529 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.6686, allocations: 136 kB / 0.853 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.6728, allocations: 1.533 MB / 0.8545 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.6728, allocations: 0 / 0.8545 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.673, allocations: 44 kB / 0.8546 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.673, allocations: 35.98 kB / 0.8546 GB, free: 56 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/0.6769, allocations: 1.375 MB / 0.856 GB, free: 14.67 MB / 0.5417 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.009493/0.6864, allocations: 6.187 MB / 0.862 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.6897, allocations: 0.9074 MB / 0.8629 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.6902, allocations: 350 kB / 0.8632 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/0.6906, allocations: 0.4991 MB / 0.8637 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.6906, allocations: 39 kB / 0.8637 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001477/0.6921, allocations: 334.7 kB / 0.8641 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=52): time 4.037e-06/0.6921, allocations: 0 / 0.8641 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006707/0.6989, allocations: 1.808 MB / 0.8658 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.6989, allocations: 59.84 kB / 0.8659 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.7013, allocations: 1.829 MB / 0.8677 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.7014, allocations: 45.7 kB / 0.8677 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006927/0.7021, allocations: 0.918 MB / 0.8686 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.7023, allocations: 177.5 kB / 0.8688 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.7027, allocations: 294.6 kB / 0.8691 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7029, allocations: 353.9 kB / 0.8694 GB, free: 228 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.7041, allocations: 0.5408 MB / 0.8699 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.7055, allocations: 0.7777 MB / 0.8707 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.708, allocations: 1.145 MB / 0.8718 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.708, allocations: 0 / 0.8718 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00359/0.7116, allocations: 1.607 MB / 0.8734 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.7116, allocations: 4 kB / 0.8734 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.7116, allocations: 11.92 kB / 0.8734 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.7117, allocations: 8 kB / 0.8734 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.7132, allocations: 355.4 kB / 0.8737 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.7133, allocations: 8 kB / 0.8737 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.7154, allocations: 199.5 kB / 0.8739 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.7155, allocations: 67.92 kB / 0.874 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001255/0.7168, allocations: 0.686 MB / 0.8747 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008882/0.7177, allocations: 0.6371 MB / 0.8753 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001331/0.719, allocations: 0.8792 MB / 0.8762 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.214e-06/0.7191, allocations: 4 kB / 0.8762 GB, free: 9.047 MB / 0.5573 GB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.00244/0.7215, allocations: 1.314 MB / 0.8774 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7215, allocations: 8 kB / 0.8775 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7216, allocations: 4 kB / 0.8775 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.7216, allocations: 12 kB / 0.8775 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.7227, allocations: 279.9 kB / 0.8777 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.7227, allocations: 8 kB / 0.8777 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.7248, allocations: 147.6 kB / 0.8779 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.725, allocations: 55.95 kB / 0.8779 GB, free: 7.219 MB / 0.5573 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 (147): * Single equations (assignments): 147 * 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.0004636/0.7254, allocations: 236 kB / 0.8782 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/0.726, allocations: 197.6 kB / 0.8783 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.7294, allocations: 1.236 MB / 0.8796 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.7295, allocations: 7.984 kB / 0.8796 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.7295, allocations: 4 kB / 0.8796 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7295, allocations: 0 / 0.8796 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.7321, allocations: 1.373 MB / 0.8809 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.7321, allocations: 0 / 0.8809 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/0.7331, allocations: 179.8 kB / 0.8811 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.7331, allocations: 4 kB / 0.8811 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.7332, allocations: 15.98 kB / 0.8811 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.7332, allocations: 7.984 kB / 0.8811 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7332, allocations: 0 / 0.8811 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/0.7377, allocations: 2.668 MB / 0.8837 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.7383, allocations: 258.6 kB / 0.884 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/0.7388, allocations: 11.94 kB / 0.884 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.7405, allocations: 171.6 kB / 0.8841 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.7406, allocations: 44.59 kB / 0.8842 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.7407, allocations: 23.98 kB / 0.8842 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001762/0.7425, allocations: 1.203 MB / 0.8854 GB, free: 15.43 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7425, allocations: 0 / 0.8854 GB, free: 15.43 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002568/0.7451, allocations: 0.8927 MB / 0.8862 GB, free: 14.54 MB / 0.573 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 (67): * Single equations (assignments): 64 * 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.0007469/0.7458, allocations: 339.3 kB / 0.8866 GB, free: 14.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004108/0.75, allocations: 1.792 MB / 0.8883 GB, free: 12.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.75, allocations: 0 / 0.8883 GB, free: 12.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7511, allocations: 499.8 kB / 0.8888 GB, free: 11.93 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/0.7573, allocations: 1.159 MB / 0.8899 GB, free: 10.78 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/0.7842, allocations: 5.991 MB / 0.8958 GB, free: 4.746 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.7854, allocations: 1.392 MB / 0.8971 GB, free: 3.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002663/0.7881, allocations: 397.4 kB / 0.8975 GB, free: 2.934 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007133/0.7888, allocations: 163.3 kB / 0.8977 GB, free: 2.773 MB / 0.573 GB Notification: Performance of SimCode: time 1.913e-06/0.7888, allocations: 0 / 0.8977 GB, free: 2.773 MB / 0.573 GB Notification: Performance of Templates: time 0.06928/0.8581, allocations: 41.45 MB / 0.9382 GB, free: 9.688 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)