Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.000924/0.0009238, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008888/0.0008889, allocations: 177.3 kB / 15.94 MB, free: 228 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.066/1.066, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8 kB / 0.5159 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 83.4 MB / 0.5973 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.367/0.5592, allocations: 25.81 MB / 0.6226 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.5702, allocations: 9.277 MB / 0.6316 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.5721, allocations: 22.75 kB / 0.6316 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.5733, allocations: 345 kB / 0.632 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.5769, allocations: 1.139 MB / 0.6331 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.5793, allocations: 0.918 MB / 0.634 GB, free: 22.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.5813, allocations: 1.236 MB / 0.6352 GB, free: 21.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.582, allocations: 0.5444 MB / 0.6357 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.5835, allocations: 0.7784 MB / 0.6365 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.5841, allocations: 463.8 kB / 0.6369 GB, free: 21.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.5842, allocations: 33 kB / 0.6369 GB, free: 21.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008634/0.585, allocations: 380.3 kB / 0.6373 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.5852, allocations: 137 kB / 0.6374 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.5853, allocations: 178.4 kB / 0.6376 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.586, allocations: 0.7393 MB / 0.6383 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.586, allocations: 0 / 0.6383 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.586, allocations: 0 / 0.6383 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.586, allocations: 0 / 0.6383 GB, free: 20.58 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001361/0.5874, allocations: 1.011 MB / 0.6393 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5874, allocations: 11.47 kB / 0.6393 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.585e-05/0.5875, allocations: 82.81 kB / 0.6394 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5876, allocations: 100.6 kB / 0.6395 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.5883, allocations: 0.5367 MB / 0.64 GB, free: 19.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.5883, allocations: 38.34 kB / 0.6401 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.5884, allocations: 54.12 kB / 0.6401 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.5891, allocations: 415 kB / 0.6405 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.5891, allocations: 0 / 0.6405 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.5891, allocations: 14.53 kB / 0.6405 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5892, allocations: 14.81 kB / 0.6405 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.5897, allocations: 309.2 kB / 0.6408 GB, free: 19.05 MB / 0.4981 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.002357/0.5921, allocations: 1.863 MB / 0.6427 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.5924, allocations: 179.5 kB / 0.6428 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.5926, allocations: 334.6 kB / 0.6431 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.5927, allocations: 33.7 kB / 0.6432 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.5927, allocations: 0 / 0.6432 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006664/0.5933, allocations: 318 kB / 0.6435 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.5934, allocations: 62.12 kB / 0.6435 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.594, allocations: 0.6891 MB / 0.6442 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.5941, allocations: 29.7 kB / 0.6442 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.5943, allocations: 364.9 kB / 0.6446 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.5943, allocations: 68.7 kB / 0.6447 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.5943, allocations: 8 kB / 0.6447 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.5944, allocations: 377.8 kB / 0.645 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.5947, allocations: 103 kB / 0.6451 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.5949, allocations: 180 kB / 0.6453 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.5952, allocations: 116.1 kB / 0.6454 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5952, allocations: 2.625 kB / 0.6454 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006048/0.5958, allocations: 392.4 kB / 0.6458 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/0.5959, allocations: 287.5 kB / 0.6461 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5959, allocations: 6.562 kB / 0.6461 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5959, allocations: 2.625 kB / 0.6461 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/0.5969, allocations: 150.1 kB / 0.6462 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000791/0.5977, allocations: 2.367 MB / 0.6485 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.5983, allocations: 85.47 kB / 0.6486 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.5984, allocations: 22.38 kB / 0.6486 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.5984, allocations: 7.438 kB / 0.6486 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005344/0.5989, allocations: 299.3 kB / 0.6489 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.5989, allocations: 0 / 0.6489 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-06/0.5989, allocations: 2.75 kB / 0.6489 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.5993, allocations: 101.8 kB / 0.649 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5994, allocations: 3.828 kB / 0.649 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.5998, allocations: 79.23 kB / 0.6491 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.5999, allocations: 18.5 kB / 0.6491 GB, free: 12.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.6001, allocations: 267.9 kB / 0.6494 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.6002, allocations: 67.12 kB / 0.6494 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006977/0.6009, allocations: 318.8 kB / 0.6497 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.6009, allocations: 2.812 kB / 0.6497 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6009, allocations: 0 / 0.6497 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.601, allocations: 3.328 kB / 0.6497 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.6022, allocations: 0.9005 MB / 0.6506 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.6022, allocations: 0 / 0.6506 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.6025, allocations: 92.34 kB / 0.6507 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.6026, allocations: 10.78 kB / 0.6507 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.6026, allocations: 6.344 kB / 0.6507 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007532/0.6033, allocations: 2.357 MB / 0.653 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6034, allocations: 1.156 kB / 0.653 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.6039, allocations: 459.8 kB / 0.6535 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.6041, allocations: 179.8 kB / 0.6536 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.6042, allocations: 6.25 kB / 0.6536 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.6046, allocations: 53.12 kB / 0.6537 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.6047, allocations: 13.88 kB / 0.6537 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.6047, allocations: 11.62 kB / 0.6537 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005979/0.6053, allocations: 466.6 kB / 0.6542 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6053, allocations: 11.88 kB / 0.6542 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001071/0.6064, allocations: 357 kB / 0.6545 GB, free: 8.754 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/0.6078, allocations: 1.399 MB / 0.6559 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.6095, allocations: 0.4896 MB / 0.6564 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6095, allocations: 0 / 0.6564 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.6099, allocations: 151.4 kB / 0.6565 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.6119, allocations: 372.4 kB / 0.6569 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.6147, allocations: 2.028 MB / 0.6588 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.6152, allocations: 0.9457 MB / 0.6598 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005869/0.6158, allocations: 123.7 kB / 0.6599 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.6161, allocations: 255.4 kB / 0.6601 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.6161, allocations: 5 kB / 0.6601 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/0.6677, allocations: 18.16 MB / 0.6779 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.6679, allocations: 282.4 kB / 0.6781 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.856, allocations: 0 / 0.6781 GB, free: 1.586 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: