Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Examples.TwoWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",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.0008608/0.0008613, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008871/0.0008872, allocations: 168.7 kB / 15.95 MB, free: 204 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.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.22/1.22, allocations: 143.4 MB / 434.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 12.22 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 83.41 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.4428/0.6543, allocations: 27.38 MB / 0.6243 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008846/0.6632, allocations: 7.674 MB / 0.6318 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.6645, allocations: 31.47 kB / 0.6318 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.6654, allocations: 304.8 kB / 0.6321 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.6683, allocations: 1.076 MB / 0.6332 GB, free: 22.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.6707, allocations: 0.9606 MB / 0.6341 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003425/0.6742, allocations: 3.524 MB / 0.6375 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.6755, allocations: 1.089 MB / 0.6386 GB, free: 20.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.6777, allocations: 1.463 MB / 0.64 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.6802, allocations: 1.551 MB / 0.6415 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003753/0.6806, allocations: 73.77 kB / 0.6416 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.6827, allocations: 0.8536 MB / 0.6424 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.6831, allocations: 332.6 kB / 0.6428 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.6834, allocations: 249.6 kB / 0.643 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.6849, allocations: 1.601 MB / 0.6446 GB, free: 19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6849, allocations: 0 / 0.6446 GB, free: 19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6849, allocations: 0 / 0.6446 GB, free: 19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.6849, allocations: 3.938 kB / 0.6446 GB, free: 18.99 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001898/0.6868, allocations: 1.345 MB / 0.6459 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6869, allocations: 10.69 kB / 0.6459 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.982e-05/0.687, allocations: 102.6 kB / 0.646 GB, free: 18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.6873, allocations: 152.4 kB / 0.6461 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.6887, allocations: 0.8609 MB / 0.647 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.6888, allocations: 79.81 kB / 0.647 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.6889, allocations: 116.9 kB / 0.6472 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.69, allocations: 0.6442 MB / 0.6478 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.69, allocations: 0.6094 kB / 0.6478 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.69, allocations: 32.06 kB / 0.6478 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.6901, allocations: 18 kB / 0.6478 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.6909, allocations: 463.9 kB / 0.6483 GB, free: 16.93 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.004559/0.6955, allocations: 2.887 MB / 0.6511 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.6961, allocations: 313.5 kB / 0.6514 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.6965, allocations: 154.7 kB / 0.6515 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.6967, allocations: 347 kB / 0.6519 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6968, allocations: 41.3 kB / 0.6519 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.385e-06/0.6968, allocations: 0 / 0.6519 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001404/0.6982, allocations: 0.5466 MB / 0.6525 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.6982, allocations: 55.47 kB / 0.6525 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.6995, allocations: 0.8971 MB / 0.6534 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.6997, allocations: 59.2 kB / 0.6534 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.7002, allocations: 0.5247 MB / 0.6539 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.7003, allocations: 114.8 kB / 0.6541 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.7003, allocations: 14.88 kB / 0.6541 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.7004, allocations: 326.7 kB / 0.6544 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.7008, allocations: 175.3 kB / 0.6546 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.702, allocations: 1.141 MB / 0.6557 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.7026, allocations: 309.8 kB / 0.656 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.7026, allocations: 2.094 kB / 0.656 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00133/0.704, allocations: 0.6481 MB / 0.6566 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.927e-05/0.7041, allocations: 146.1 kB / 0.6567 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7041, allocations: 2.094 kB / 0.6567 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.7041, allocations: 6.203 kB / 0.6567 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.7056, allocations: 245.9 kB / 0.657 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.7067, allocations: 2.961 MB / 0.6599 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/0.71, allocations: 0.7525 MB / 0.6606 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.7101, allocations: 28.56 kB / 0.6606 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.7102, allocations: 4.156 kB / 0.6606 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000997/0.7112, allocations: 0.4979 MB / 0.6611 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7112, allocations: 1.969 kB / 0.6611 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7112, allocations: 5.656 kB / 0.6611 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.7119, allocations: 158.3 kB / 0.6613 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.7119, allocations: 4.609 kB / 0.6613 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.7151, allocations: 0.7503 MB / 0.662 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.821e-05/0.7152, allocations: 25.22 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006692/0.7159, allocations: 323 kB / 0.6623 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.7161, allocations: 96.52 kB / 0.6624 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.7173, allocations: 0.5298 MB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.7174, allocations: 4.391 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7174, allocations: 0.6094 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.7174, allocations: 7.297 kB / 0.663 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.7197, allocations: 1.259 MB / 0.6642 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.7198, allocations: 2.062 kB / 0.6642 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.7203, allocations: 124.2 kB / 0.6643 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.7203, allocations: 6.391 kB / 0.6643 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.7204, allocations: 11.05 kB / 0.6643 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008674/0.7212, allocations: 2.939 MB / 0.6672 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.7213, allocations: 13.39 kB / 0.6672 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/0.7222, allocations: 0.5776 MB / 0.6678 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.7226, allocations: 226.2 kB / 0.668 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.7227, allocations: 7.281 kB / 0.668 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.7233, allocations: 60.23 kB / 0.6681 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.7234, allocations: 38.69 kB / 0.6681 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.7235, allocations: 16.95 kB / 0.6681 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001125/0.7246, allocations: 0.5969 MB / 0.6687 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7246, allocations: 0 / 0.6687 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002083/0.7267, allocations: 0.5427 MB / 0.6692 GB, free: 2.77 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001838/0.7286, allocations: 1.347 MB / 0.6705 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.7316, allocations: 0.8431 MB / 0.6714 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7316, allocations: 1.094 kB / 0.6714 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.7322, allocations: 240.4 kB / 0.6716 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.7347, allocations: 483.6 kB / 0.6721 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.7451, allocations: 5.081 MB / 0.677 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/0.746, allocations: 1.031 MB / 0.678 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001728/0.7478, allocations: 214.3 kB / 0.6782 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.7484, allocations: 367 kB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of SimCode: time 1.603e-06/0.7484, allocations: 0 / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06895/0.8174, allocations: 32.46 MB / 0.7103 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.8177, allocations: 271.8 kB / 0.7105 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/3.794, allocations: 4 kB / 0.7105 GB, free: 7.758 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: