Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_ThreeWayValveMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_ThreeWayValveMotor",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.001463/0.001463, allocations: 99.86 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.00183/0.00183, 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 4.0.0+maint.om/package.mo): time 2.545/2.545, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.085/1.085, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005588/0.0005589, allocations: 11.94 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7475, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor): time 0.08401/0.8316, allocations: 55.14 MB / 0.6368 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02837/0.86, allocations: 12.13 MB / 0.6487 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005852/0.866, allocations: 59.56 kB / 0.6487 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005849/0.8719, allocations: 0.8863 MB / 0.6496 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.8842, allocations: 2.26 MB / 0.6518 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008531/0.8928, allocations: 2.046 MB / 0.6538 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006822/0.8996, allocations: 1.948 MB / 0.6557 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.9025, allocations: 0.9453 MB / 0.6566 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.9065, allocations: 1.071 MB / 0.6577 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.9084, allocations: 0.6494 MB / 0.6583 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.9087, allocations: 56 kB / 0.6584 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.912, allocations: 0.9245 MB / 0.6593 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.9126, allocations: 294.9 kB / 0.6595 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.9134, allocations: 289 kB / 0.6598 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.9172, allocations: 1.726 MB / 0.6615 GB, free: 0 / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9172, allocations: 0 / 0.6615 GB, free: 0 / 494.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.9173, allocations: 0 / 0.6615 GB, free: 0 / 494.1 MB Notification: Performance of Transformations before backend: time 2.741e-05/0.9173, allocations: 0 / 0.6615 GB, free: 0 / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003832/0.9211, allocations: 1.567 MB / 0.663 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.9212, allocations: 11.97 kB / 0.663 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002289/0.9214, allocations: 114.5 kB / 0.6632 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.9233, allocations: 365.9 kB / 0.6635 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.926, allocations: 1.092 MB / 0.6646 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/0.9264, allocations: 134.1 kB / 0.6647 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.9265, allocations: 76 kB / 0.6648 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.9289, allocations: 0.9392 MB / 0.6657 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.9289, allocations: 0 / 0.6657 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.929, allocations: 35.98 kB / 0.6657 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.929, allocations: 16 kB / 0.6657 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.9313, allocations: 0.8275 MB / 0.6665 GB, free: 10.68 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.009518/0.9408, allocations: 4.416 MB / 0.6709 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.9431, allocations: 0.4909 MB / 0.6713 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006751/0.9499, allocations: 2.09 MB / 0.6734 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.9502, allocations: 46.5 kB / 0.6734 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001114/0.9514, allocations: 111.2 kB / 0.6735 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 5.28e-06/0.9514, allocations: 0 / 0.6735 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.003406/0.9548, allocations: 0.7768 MB / 0.6743 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.9549, allocations: 55.41 kB / 0.6743 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/0.9584, allocations: 1.26 MB / 0.6756 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.9586, allocations: 33.7 kB / 0.6756 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/0.9595, allocations: 0.5795 MB / 0.6762 GB, free: 252 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.9597, allocations: 126.2 kB / 0.6763 GB, free: 124 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.9598, allocations: 12 kB / 0.6763 GB, free: 112 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002774/0.9601, allocations: 322 kB / 0.6766 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.9614, allocations: 289 kB / 0.6769 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.9631, allocations: 0.5195 MB / 0.6774 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.9644, allocations: 327.5 kB / 0.6777 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001431/0.9645, allocations: 4 kB / 0.6777 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003856/0.9684, allocations: 0.9172 MB / 0.6786 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.002766/0.9712, allocations: 2.571 MB / 0.6811 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/0.9713, allocations: 4 kB / 0.6811 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.932e-05/0.9713, allocations: 23.92 kB / 0.6811 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.9727, allocations: 179.8 kB / 0.6813 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.693e-05/0.9728, allocations: 19.92 kB / 0.6813 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.9752, allocations: 124.5 kB / 0.6814 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.9754, allocations: 43.91 kB / 0.6815 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.9754, allocations: 6.344 kB / 0.6815 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003271/0.9787, allocations: 0.7104 MB / 0.6822 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.9787, allocations: 8.219 kB / 0.6822 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.9788, allocations: 16 kB / 0.6822 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.9803, allocations: 159.8 kB / 0.6824 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.097e-05/0.9803, allocations: 15.89 kB / 0.6824 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.9826, allocations: 120.3 kB / 0.6825 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.9828, allocations: 39.97 kB / 0.6825 GB, free: 9.465 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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: 1 * 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.001165/0.984, allocations: 376.8 kB / 0.6829 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/0.9845, allocations: 126.4 kB / 0.683 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.9889, allocations: 0.9588 MB / 0.684 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.989, allocations: 12 kB / 0.684 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.989, allocations: 3.953 kB / 0.684 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.9891, allocations: 3.984 kB / 0.684 GB, free: 7.992 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.007497/0.9966, allocations: 1.919 MB / 0.6858 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.9966, allocations: 4 kB / 0.6858 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/0.9976, allocations: 104.1 kB / 0.6859 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.949e-05/0.9977, allocations: 4 kB / 0.686 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/0.9978, allocations: 19.98 kB / 0.686 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-05/0.9978, allocations: 11.92 kB / 0.686 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.9978, allocations: 4 kB / 0.686 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/1.002, allocations: 1.005 MB / 0.687 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.003, allocations: 295.1 kB / 0.6872 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/1.003, allocations: 15.98 kB / 0.6873 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.005, allocations: 75.94 kB / 0.6873 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.005, allocations: 35.91 kB / 0.6874 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.005, allocations: 23.98 kB / 0.6874 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002798/1.008, allocations: 0.8749 MB / 0.6882 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.71e-07/1.008, allocations: 0 / 0.6882 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003814/1.012, allocations: 0.5968 MB / 0.6888 GB, free: 2.793 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (53): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006135/1.018, allocations: 2.436 MB / 0.6912 GB, free: 304 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005021/1.023, allocations: 1.049 MB / 0.6922 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.023, allocations: 4 kB / 0.6922 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.024, allocations: 329.1 kB / 0.6926 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006891/1.031, allocations: 0.6575 MB / 0.6932 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.048, allocations: 7.809 MB / 0.7008 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.049, allocations: 1.169 MB / 0.702 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002736/1.052, allocations: 328.2 kB / 0.7023 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.053, allocations: 491.2 kB / 0.7027 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/1.053, allocations: 0 / 0.7027 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.163, allocations: 37.47 MB / 0.7393 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004156/1.164, allocations: 233.8 kB / 0.7396 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.709/5.873, allocations: 4 kB / 0.7396 GB, free: 15.16 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_ThreeWayValveMotor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_ThreeWayValveMotor.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe 2>&1) Environment - environmentSimulation: