Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.001014/0.001014, allocations: 84.38 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.001391/0.001391, 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.446/1.446, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.554/2.554, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004982, allocations: 12 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.7572, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.018/0.7752, allocations: 16.01 MB / 0.9968 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006593/0.7819, allocations: 4.606 MB / 1.001 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.7824, allocations: 11.88 kB / 1.001 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/0.7832, allocations: 190.9 kB / 1.001 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.7848, allocations: 0.4975 MB / 1.002 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.7865, allocations: 0.6024 MB / 1.003 GB, free: 308 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.7879, allocations: 1.087 MB / 1.004 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.7883, allocations: 264.8 kB / 1.004 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.7889, allocations: 362.4 kB / 1.004 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.7892, allocations: 294.5 kB / 1.004 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.7893, allocations: 16 kB / 1.004 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.7905, allocations: 0.5887 MB / 1.005 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.7906, allocations: 115.6 kB / 1.005 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.7908, allocations: 113.4 kB / 1.005 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.7917, allocations: 0.5924 MB / 1.006 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7917, allocations: 0 / 1.006 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7917, allocations: 4 kB / 1.006 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7917, allocations: 0 / 1.006 GB, free: 12.87 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001263/0.793, allocations: 0.7901 MB / 1.007 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7931, allocations: 12.03 kB / 1.007 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.728e-05/0.7931, allocations: 62.53 kB / 1.007 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.7933, allocations: 59.34 kB / 1.007 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.7939, allocations: 432.8 kB / 1.007 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.794, allocations: 20.56 kB / 1.007 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.794, allocations: 28 kB / 1.007 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.7945, allocations: 290.2 kB / 1.008 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7946, allocations: 0 / 1.008 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.7946, allocations: 4 kB / 1.008 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7946, allocations: 8 kB / 1.008 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.795, allocations: 198.1 kB / 1.008 GB, free: 10.87 MB / 0.7637 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.002083/0.7971, allocations: 1.484 MB / 1.009 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.7974, allocations: 168.4 kB / 1.009 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.7976, allocations: 92.81 kB / 1.009 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/0.7992, allocations: 1.299 MB / 1.011 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.7992, allocations: 30.56 kB / 1.011 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.7992, allocations: 0 / 1.011 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0006924/0.7999, allocations: 262.8 kB / 1.011 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.8, allocations: 55.41 kB / 1.011 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.8007, allocations: 0.5847 MB / 1.012 GB, free: 6.559 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.8008, allocations: 25.7 kB / 1.012 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.8011, allocations: 276.1 kB / 1.012 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.8011, allocations: 51.2 kB / 1.012 GB, free: 6.203 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.8012, allocations: 12 kB / 1.012 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.8014, allocations: 358.8 kB / 1.012 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.8015, allocations: 72.45 kB / 1.012 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.8019, allocations: 214.8 kB / 1.013 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.8021, allocations: 97.28 kB / 1.013 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8021, allocations: 4 kB / 1.013 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005448/0.8027, allocations: 321.6 kB / 1.013 GB, free: 5.086 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.8028, allocations: 167.5 kB / 1.013 GB, free: 4.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8028, allocations: 4 kB / 1.013 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8028, allocations: 4 kB / 1.013 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.8031, allocations: 63.89 kB / 1.013 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8031, allocations: 4 kB / 1.013 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.8034, allocations: 51.67 kB / 1.013 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.8035, allocations: 19.98 kB / 1.013 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.8035, allocations: 4 kB / 1.013 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004563/0.804, allocations: 243.7 kB / 1.013 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.804, allocations: 4 kB / 1.013 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.804, allocations: 4 kB / 1.013 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.8042, allocations: 67.89 kB / 1.014 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8043, allocations: 7.938 kB / 1.014 GB, free: 4.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.8045, allocations: 47.8 kB / 1.014 GB, free: 4.371 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.8046, allocations: 15.98 kB / 1.014 GB, free: 4.355 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002153/0.8048, allocations: 261 kB / 1.014 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.8049, allocations: 47.38 kB / 1.014 GB, free: 4.043 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006208/0.8055, allocations: 275 kB / 1.014 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.8055, allocations: 4 kB / 1.014 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8055, allocations: 0 / 1.014 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8055, allocations: 0 / 1.014 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.8065, allocations: 0.7511 MB / 1.015 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8065, allocations: 0 / 1.015 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.8067, allocations: 36.09 kB / 1.015 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.8067, allocations: 4 kB / 1.015 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.8067, allocations: 8 kB / 1.015 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8067, allocations: 0 / 1.015 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8067, allocations: 4 kB / 1.015 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.8072, allocations: 359.1 kB / 1.015 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.8074, allocations: 160.3 kB / 1.015 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.8074, allocations: 4 kB / 1.015 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.8076, allocations: 23.94 kB / 1.015 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.8077, allocations: 11.98 kB / 1.015 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.8077, allocations: 12 kB / 1.016 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004518/0.8082, allocations: 418.8 kB / 1.016 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8082, allocations: 0 / 1.016 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000722/0.8089, allocations: 235.6 kB / 1.016 GB, free: 1.648 MB / 0.7637 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 (17): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/0.8107, allocations: 1.278 MB / 1.017 GB, free: 488 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007127/0.8114, allocations: 325.5 kB / 1.018 GB, free: 164 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8114, allocations: 0 / 1.018 GB, free: 164 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.8116, allocations: 100.8 kB / 1.018 GB, free: 64 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.813, allocations: 255.1 kB / 1.018 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.817, allocations: 2.712 MB / 1.021 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.8175, allocations: 0.8468 MB / 1.022 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003935/0.8179, allocations: 104.2 kB / 1.022 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.8181, allocations: 163.4 kB / 1.022 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of SimCode: time 7.62e-07/0.8182, allocations: 0 / 1.022 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.8487, allocations: 14.27 MB / 1.036 GB, free: 13.88 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.8489, allocations: 251.5 kB / 1.036 GB, free: 13.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/3.064, allocations: 0 / 1.036 GB, free: 13.64 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat does not exist to compare? outputFormat=mat