Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_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.001182/0.001182, 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.001208/0.001208, 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 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 222.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000582/0.0005821, allocations: 16.97 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2883, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02916/0.3175, allocations: 26.1 MB / 0.8127 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.3366, allocations: 12.26 MB / 0.8247 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.3383, allocations: 27.75 kB / 0.8247 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.3405, allocations: 0.5017 MB / 0.8252 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.3459, allocations: 1.109 MB / 0.8263 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008231/0.3541, allocations: 2.301 MB / 0.8285 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003265/0.3574, allocations: 1.238 MB / 0.8297 GB, free: 300 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.3586, allocations: 0.5265 MB / 0.8303 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.3608, allocations: 0.7747 MB / 0.831 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009064/0.3617, allocations: 454.1 kB / 0.8314 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.3618, allocations: 28 kB / 0.8315 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.363, allocations: 387.5 kB / 0.8318 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.3632, allocations: 127.4 kB / 0.832 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.3634, allocations: 181.3 kB / 0.8321 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.3643, allocations: 0.7051 MB / 0.8328 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3643, allocations: 0 / 0.8328 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3644, allocations: 0 / 0.8328 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.3644, allocations: 4 kB / 0.8328 GB, free: 13.11 MB / 0.6544 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.001797/0.3662, allocations: 0.9962 MB / 0.8338 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3662, allocations: 16.03 kB / 0.8338 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.3663, allocations: 90.52 kB / 0.8339 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.3665, allocations: 90.97 kB / 0.834 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008404/0.3673, allocations: 0.5304 MB / 0.8345 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.3674, allocations: 41 kB / 0.8345 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.3675, allocations: 52 kB / 0.8346 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007396/0.3682, allocations: 406.4 kB / 0.835 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3682, allocations: 8 kB / 0.835 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.3683, allocations: 19.95 kB / 0.835 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.3683, allocations: 8 kB / 0.835 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.3689, allocations: 307.8 kB / 0.8353 GB, free: 10.45 MB / 0.6544 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.002919/0.3718, allocations: 1.858 MB / 0.8371 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.3722, allocations: 185.8 kB / 0.8373 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.3726, allocations: 340.5 kB / 0.8376 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3726, allocations: 30.56 kB / 0.8377 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 2.384e-06/0.3726, allocations: 0 / 0.8377 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007759/0.3734, allocations: 319.6 kB / 0.838 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3735, allocations: 55.41 kB / 0.838 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/0.3743, allocations: 0.6647 MB / 0.8387 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.3743, allocations: 33.7 kB / 0.8387 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.3746, allocations: 368 kB / 0.839 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.3747, allocations: 63.09 kB / 0.8391 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.3747, allocations: 8 kB / 0.8391 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3749, allocations: 378.7 kB / 0.8395 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.3752, allocations: 107.9 kB / 0.8396 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.3755, allocations: 181.9 kB / 0.8398 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.3757, allocations: 121.6 kB / 0.8399 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3757, allocations: 0 / 0.8399 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006572/0.3764, allocations: 394.6 kB / 0.8402 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.3765, allocations: 281.7 kB / 0.8405 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3766, allocations: 80 / 0.8405 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3766, allocations: 7.953 kB / 0.8405 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.3776, allocations: 167.7 kB / 0.8407 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.3792, allocations: 2.36 MB / 0.843 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/0.3799, allocations: 83.69 kB / 0.8431 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.38, allocations: 19.98 kB / 0.8431 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.38, allocations: 4 kB / 0.8431 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006319/0.3806, allocations: 292.1 kB / 0.8434 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3806, allocations: 0 / 0.8434 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3807, allocations: 4 kB / 0.8434 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.3811, allocations: 103.8 kB / 0.8435 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3811, allocations: 7.953 kB / 0.8435 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.3816, allocations: 87.53 kB / 0.8436 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3816, allocations: 11.98 kB / 0.8436 GB, free: 1.566 MB / 0.6544 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.0003442/0.382, allocations: 261.6 kB / 0.8438 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3821, allocations: 67.16 kB / 0.8439 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.3828, allocations: 308.9 kB / 0.8442 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.3828, allocations: 11.94 kB / 0.8442 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3828, allocations: 11.89 kB / 0.8442 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3828, allocations: 3.984 kB / 0.8442 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.3842, allocations: 0.8877 MB / 0.8451 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3842, allocations: 0 / 0.8451 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.3845, allocations: 87.98 kB / 0.8452 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3846, allocations: 0 / 0.8452 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3846, allocations: 7.984 kB / 0.8452 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.3858, allocations: 2.356 MB / 0.8475 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3858, allocations: 0 / 0.8475 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.3864, allocations: 462.8 kB / 0.8479 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.3867, allocations: 176.1 kB / 0.8481 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.3867, allocations: 4 kB / 0.8481 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.3871, allocations: 51.89 kB / 0.8481 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.3872, allocations: 23.92 kB / 0.8482 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3872, allocations: 4 kB / 0.8482 GB, free: 12.62 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005307/0.3878, allocations: 467 kB / 0.8486 GB, free: 12.17 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3878, allocations: 0 / 0.8486 GB, free: 12.17 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008881/0.3887, allocations: 343.1 kB / 0.8489 GB, free: 11.84 MB / 0.67 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.001409/0.3901, allocations: 1.399 MB / 0.8503 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.3917, allocations: 0.4918 MB / 0.8508 GB, free: 9.898 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3917, allocations: 0 / 0.8508 GB, free: 9.898 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.3922, allocations: 156 kB / 0.8509 GB, free: 9.746 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.3942, allocations: 384.5 kB / 0.8513 GB, free: 9.383 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.3971, allocations: 2.013 MB / 0.8533 GB, free: 7.297 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.3977, allocations: 0.9453 MB / 0.8542 GB, free: 6.324 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005238/0.3982, allocations: 120.3 kB / 0.8543 GB, free: 6.207 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.3985, allocations: 255.3 kB / 0.8545 GB, free: 5.957 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.3986, allocations: 0 / 0.8545 GB, free: 5.957 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.4401, allocations: 18.11 MB / 0.8722 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.4404, allocations: 274.8 kB / 0.8725 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/2.879, allocations: 0 / 0.8725 GB, free: 3.938 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: