Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.0007441/0.0007442, allocations: 92.78 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 171 kB / 16.58 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6095/0.6095, allocations: 113.7 MB / 405.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002802, allocations: 8.219 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01541/0.1432, allocations: 17.77 MB / 0.5742 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006268/0.1496, allocations: 4.838 MB / 0.579 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.1501, allocations: 15.88 kB / 0.579 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.1507, allocations: 190.7 kB / 0.5792 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.1521, allocations: 0.6137 MB / 0.5798 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1537, allocations: 0.7437 MB / 0.5805 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.1553, allocations: 1.689 MB / 0.5821 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.1558, allocations: 419.2 kB / 0.5825 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.1566, allocations: 0.5328 MB / 0.5831 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.1572, allocations: 0.494 MB / 0.5835 GB, free: 308 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.1572, allocations: 28 kB / 0.5836 GB, free: 280 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2374/0.3947, allocations: 0.5896 MB / 0.5841 GB, free: 13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.395, allocations: 129.1 kB / 0.5843 GB, free: 13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.3953, allocations: 153.7 kB / 0.5844 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3963, allocations: 0.7409 MB / 0.5851 GB, free: 12.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3964, allocations: 1.516 kB / 0.5851 GB, free: 12.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3964, allocations: 3.094 kB / 0.5851 GB, free: 12.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3964, allocations: 0 / 0.5851 GB, free: 12.94 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001512/0.3979, allocations: 0.9946 MB / 0.5861 GB, free: 12.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3979, allocations: 10.47 kB / 0.5861 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.669e-05/0.398, allocations: 85.14 kB / 0.5862 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3982, allocations: 84.38 kB / 0.5863 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.3988, allocations: 490.3 kB / 0.5868 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.3988, allocations: 40.55 kB / 0.5868 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.3989, allocations: 49.64 kB / 0.5868 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3999, allocations: 0.6343 MB / 0.5875 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3999, allocations: 7.891 kB / 0.5875 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.4, allocations: 24.52 kB / 0.5875 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4, allocations: 13.2 kB / 0.5875 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.4011, allocations: 0.5128 MB / 0.588 GB, free: 11.79 MB / 446.1 MB 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.002984/0.4041, allocations: 3.206 MB / 0.5911 GB, free: 25.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.4047, allocations: 353.3 kB / 0.5915 GB, free: 25.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.4052, allocations: 244.2 kB / 0.5917 GB, free: 25.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.4054, allocations: 346.7 kB / 0.592 GB, free: 25.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.4055, allocations: 36.06 kB / 0.5921 GB, free: 25.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.513e-06/0.4055, allocations: 0.7812 kB / 0.5921 GB, free: 25.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.001915/0.4074, allocations: 0.8664 MB / 0.5929 GB, free: 24.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.4074, allocations: 55.5 kB / 0.593 GB, free: 24.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.4081, allocations: 0.587 MB / 0.5935 GB, free: 24.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.4081, allocations: 36.2 kB / 0.5936 GB, free: 24.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.4083, allocations: 326.1 kB / 0.5939 GB, free: 24.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.4084, allocations: 128.8 kB / 0.594 GB, free: 24.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.4085, allocations: 9.75 kB / 0.594 GB, free: 24.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4086, allocations: 373.4 kB / 0.5944 GB, free: 24.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.4091, allocations: 219.1 kB / 0.5946 GB, free: 24.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.4096, allocations: 381.8 kB / 0.595 GB, free: 23.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.4101, allocations: 254 kB / 0.5952 GB, free: 23.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4101, allocations: 1.781 kB / 0.5952 GB, free: 23.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00133/0.4114, allocations: 0.7304 MB / 0.5959 GB, free: 23.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.111e-05/0.4115, allocations: 221.9 kB / 0.5961 GB, free: 23.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4116, allocations: 4.094 kB / 0.5961 GB, free: 23.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/0.4121, allocations: 147.1 kB / 0.5963 GB, free: 23.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.4127, allocations: 162.6 kB / 0.5964 GB, free: 23.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00056/0.4133, allocations: 0.6303 MB / 0.597 GB, free: 23.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.4139, allocations: 100.1 kB / 0.5971 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.4139, allocations: 33.58 kB / 0.5972 GB, free: 23.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.4139, allocations: 4 kB / 0.5972 GB, free: 23.02 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/0.4151, allocations: 0.6219 MB / 0.5978 GB, free: 23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4152, allocations: 5.281 kB / 0.5978 GB, free: 23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.4152, allocations: 8.156 kB / 0.5978 GB, free: 23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.4158, allocations: 159.3 kB / 0.5979 GB, free: 23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4158, allocations: 14.02 kB / 0.598 GB, free: 23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.4162, allocations: 97.44 kB / 0.598 GB, free: 22.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.4163, allocations: 30.3 kB / 0.5981 GB, free: 22.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.4166, allocations: 276.1 kB / 0.5983 GB, free: 22.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.4167, allocations: 61.3 kB / 0.5984 GB, free: 22.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.4181, allocations: 0.6759 MB / 0.5991 GB, free: 22.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4181, allocations: 6.125 kB / 0.5991 GB, free: 22.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4181, allocations: 0 / 0.5991 GB, free: 22.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4181, allocations: 6.719 kB / 0.5991 GB, free: 22.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.4204, allocations: 1.391 MB / 0.6004 GB, free: 22.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4204, allocations: 4.312 kB / 0.6004 GB, free: 22.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.4208, allocations: 90.17 kB / 0.6005 GB, free: 22.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.4211, allocations: 134.4 kB / 0.6006 GB, free: 22.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.4212, allocations: 12.55 kB / 0.6007 GB, free: 22.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005419/0.4217, allocations: 0.6334 MB / 0.6013 GB, free: 21.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4217, allocations: 4.531 kB / 0.6013 GB, free: 21.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.423, allocations: 0.7302 MB / 0.602 GB, free: 21.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.4232, allocations: 205.4 kB / 0.6022 GB, free: 21.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.4233, allocations: 10.41 kB / 0.6022 GB, free: 21.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.4237, allocations: 55.34 kB / 0.6023 GB, free: 21.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4238, allocations: 36.16 kB / 0.6023 GB, free: 21.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.4238, allocations: 18.95 kB / 0.6023 GB, free: 21.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004525/0.4243, allocations: 395.7 kB / 0.6027 GB, free: 21.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4243, allocations: 1.281 kB / 0.6027 GB, free: 21.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4254, allocations: 392.4 kB / 0.6031 GB, free: 21.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.4273, allocations: 1.466 MB / 0.6045 GB, free: 20.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.4292, allocations: 0.9039 MB / 0.6054 GB, free: 20.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4292, allocations: 0 / 0.6054 GB, free: 20.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.4299, allocations: 308.6 kB / 0.6057 GB, free: 20.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4313, allocations: 265.6 kB / 0.6059 GB, free: 20.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/0.4374, allocations: 3.791 MB / 0.6096 GB, free: 19.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.438, allocations: 0.9106 MB / 0.6105 GB, free: 18.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007337/0.4387, allocations: 156.8 kB / 0.6107 GB, free: 18.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.4391, allocations: 248.4 kB / 0.6109 GB, free: 18.29 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4391, allocations: 1.062 kB / 0.6109 GB, free: 18.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.4682, allocations: 17.74 MB / 0.6282 GB, free: 10.46 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.4684, allocations: 278.9 kB / 0.6285 GB, free: 10.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.438, allocations: 3.75 kB / 0.6285 GB, free: 10.1 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: