Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8797/0.8797, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008504, allocations: 95.41 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.264e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4419, allocations: 82.29 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7502/1.192, allocations: 356.3 MB / 0.9818 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.192, allocations: 94.5 kB / 0.9819 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7861/1.978, allocations: 238.9 MB / 1.215 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.283e-06/1.979, allocations: 7.875 kB / 1.215 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.233e-05/1.979, allocations: 19.98 kB / 1.215 GB, free: 124.9 MB / 0.6823 GB 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.001438/1.98, allocations: 0.9697 MB / 1.216 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/1.98, allocations: 12.03 kB / 1.216 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/1.98, allocations: 90.92 kB / 1.216 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/1.981, allocations: 0.5038 MB / 1.217 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.981, allocations: 16 kB / 1.217 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/1.981, allocations: 28 kB / 1.217 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005087/1.981, allocations: 358.5 kB / 1.217 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/1.982, allocations: 0.5055 MB / 1.218 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.982, allocations: 4 kB / 1.218 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/1.982, allocations: 4 kB / 1.218 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/1.982, allocations: 15.94 kB / 1.218 GB, free: 122.3 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002491/1.985, allocations: 3.109 MB / 1.221 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/1.985, allocations: 280.5 kB / 1.221 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/1.985, allocations: 174.6 kB / 1.221 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/1.985, allocations: 352.4 kB / 1.222 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.985, allocations: 43.22 kB / 1.222 GB, free: 118 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 1.673e-06/1.986, allocations: 0 / 1.222 GB, free: 118 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.001892/1.987, allocations: 0.6608 MB / 1.222 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/1.987, allocations: 67.34 kB / 1.222 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/1.988, allocations: 447.3 kB / 1.223 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/1.988, allocations: 25.7 kB / 1.223 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/1.988, allocations: 328.2 kB / 1.223 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/1.988, allocations: 126.1 kB / 1.223 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/1.988, allocations: 0 / 1.223 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/1.988, allocations: 370.8 kB / 1.224 GB, free: 116 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/1.988, allocations: 149 kB / 1.224 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/1.989, allocations: 335.2 kB / 1.224 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/1.99, allocations: 432.3 kB / 1.224 GB, free: 115 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.99, allocations: 0 / 1.224 GB, free: 115 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001812/1.992, allocations: 0.7886 MB / 1.225 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002813/1.992, allocations: 1.748 MB / 1.227 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.992, allocations: 8 kB / 1.227 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/1.993, allocations: 96.78 kB / 1.227 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/1.993, allocations: 143.8 kB / 1.227 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/1.994, allocations: 0.7006 MB / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/1.994, allocations: 95.38 kB / 1.228 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/1.995, allocations: 35.98 kB / 1.228 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/1.995, allocations: 7.938 kB / 1.228 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/1.996, allocations: 0.6774 MB / 1.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/1.996, allocations: 4 kB / 1.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/1.996, allocations: 8 kB / 1.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/1.997, allocations: 160.3 kB / 1.229 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.997, allocations: 11.94 kB / 1.229 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/1.997, allocations: 75.62 kB / 1.229 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.997, allocations: 27.98 kB / 1.229 GB, free: 110.3 MB / 0.6823 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.998, allocations: 118.7 kB / 1.229 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001604/1.999, allocations: 0.626 MB / 1.23 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/1.999, allocations: 67.2 kB / 1.23 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/2.001, allocations: 0.7526 MB / 1.23 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/2.001, allocations: 8 kB / 1.23 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/2.001, allocations: 0 / 1.23 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/2.001, allocations: 3.984 kB / 1.23 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/2.004, allocations: 1.438 MB / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/2.004, allocations: 0 / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/2.004, allocations: 95.97 kB / 1.232 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/2.005, allocations: 108.8 kB / 1.232 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/2.005, allocations: 15.98 kB / 1.232 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007235/2.005, allocations: 0.6889 MB / 1.233 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.005, allocations: 0 / 1.233 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/2.007, allocations: 0.8696 MB / 1.234 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/2.008, allocations: 200 kB / 1.234 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/2.008, allocations: 3.953 kB / 1.234 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/2.008, allocations: 51.94 kB / 1.234 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/2.008, allocations: 35.91 kB / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/2.008, allocations: 16 kB / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003085/2.009, allocations: 335.2 kB / 1.234 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/2.009, allocations: 0 / 1.234 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00133/2.01, allocations: 407 kB / 1.235 GB, free: 104.3 MB / 0.6823 GB 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 () * 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.002679/2.013, allocations: 1.917 MB / 1.236 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001353/2.014, allocations: 0.7123 MB / 1.237 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/2.014, allocations: 0 / 1.237 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004109/2.014, allocations: 236.7 kB / 1.237 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/2.016, allocations: 236.1 kB / 1.238 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/2.017, allocations: 0.901 MB / 1.238 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/2.017, allocations: 0.9205 MB / 1.239 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006509/2.018, allocations: 164.8 kB / 1.239 GB, free: 99.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/2.018, allocations: 231.3 kB / 1.24 GB, free: 98.87 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/2.018, allocations: 0 / 1.24 GB, free: 98.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/2.053, allocations: 17.46 MB / 1.257 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/2.054, allocations: 191.8 kB / 1.257 GB, free: 81.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/4.49, allocations: 0 / 1.257 GB, free: 81.37 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)