Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.004186/0.004186, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001038/0.001038, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7222/0.7222, allocations: 132.2 MB / 422.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 65.22 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4919/0.6249, allocations: 154.4 MB / 0.8099 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03926/0.6642, allocations: 30.37 MB / 0.8396 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006991/0.6712, allocations: 140.9 kB / 0.8397 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003318/0.6746, allocations: 1.056 MB / 0.8408 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009296/0.6839, allocations: 3.318 MB / 0.844 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.6898, allocations: 2.511 MB / 0.8465 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007209/0.697, allocations: 5.397 MB / 0.8517 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.6998, allocations: 2.236 MB / 0.8539 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/0.705, allocations: 2.766 MB / 0.8566 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.7076, allocations: 1.957 MB / 0.8585 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.7079, allocations: 216 kB / 0.8587 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.7101, allocations: 1.088 MB / 0.8598 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005032/0.7106, allocations: 0.5565 MB / 0.8603 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.7118, allocations: 1.267 MB / 0.8616 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.7154, allocations: 3.325 MB / 0.8648 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7154, allocations: 0 / 0.8648 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7154, allocations: 0 / 0.8648 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.387e-05/0.7154, allocations: 0 / 0.8648 GB, free: 12.75 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004322/0.7197, allocations: 2.791 MB / 0.8675 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7198, allocations: 12.03 kB / 0.8676 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.72, allocations: 169.4 kB / 0.8677 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.7204, allocations: 264.8 kB / 0.868 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.7226, allocations: 1.516 MB / 0.8695 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.7227, allocations: 106.3 kB / 0.8696 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.7229, allocations: 140 kB / 0.8697 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.7248, allocations: 1.163 MB / 0.8708 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.7248, allocations: 3.938 kB / 0.8708 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.7249, allocations: 51.98 kB / 0.8709 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.725, allocations: 28 kB / 0.8709 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.7266, allocations: 1.013 MB / 0.8719 GB, free: 5.316 MB / 0.6231 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.008571/0.7351, allocations: 6.314 MB / 0.8781 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.736, allocations: 0.5708 MB / 0.8786 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.7366, allocations: 386.4 kB / 0.879 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.737, allocations: 0.5108 MB / 0.8795 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.737, allocations: 39.12 kB / 0.8795 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001106/0.7381, allocations: 234.8 kB / 0.8797 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.128e-06/0.7381, allocations: 0 / 0.8797 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.001903/0.74, allocations: 1.172 MB / 0.8809 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7401, allocations: 55.97 kB / 0.8809 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.7421, allocations: 1.888 MB / 0.8828 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.7422, allocations: 49.7 kB / 0.8828 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006728/0.7428, allocations: 0.9185 MB / 0.8837 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.743, allocations: 201 kB / 0.8839 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003985/0.7434, allocations: 310.5 kB / 0.8842 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7435, allocations: 345.9 kB / 0.8845 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/0.7442, allocations: 461.9 kB / 0.885 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009365/0.7452, allocations: 0.6887 MB / 0.8857 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.7466, allocations: 0.9852 MB / 0.8866 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7466, allocations: 0 / 0.8866 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002197/0.7488, allocations: 1.428 MB / 0.888 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7489, allocations: 4 kB / 0.888 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.7489, allocations: 4 kB / 0.888 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.7489, allocations: 11.94 kB / 0.888 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.7501, allocations: 291.5 kB / 0.8883 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.7501, allocations: 8 kB / 0.8883 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.7514, allocations: 87.77 kB / 0.8884 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.7515, allocations: 63.95 kB / 0.8885 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001168/0.7527, allocations: 0.7173 MB / 0.8892 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008968/0.7536, allocations: 0.68 MB / 0.8898 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.7549, allocations: 0.9305 MB / 0.8907 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.7549, allocations: 4 kB / 0.8907 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002165/0.7571, allocations: 1.381 MB / 0.8921 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7571, allocations: 8 kB / 0.8921 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7572, allocations: 4.375 kB / 0.8921 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7572, allocations: 12 kB / 0.8921 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.7583, allocations: 279.5 kB / 0.8924 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/0.7583, allocations: 19.92 kB / 0.8924 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.7597, allocations: 99.84 kB / 0.8925 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.7598, allocations: 59.95 kB / 0.8926 GB, free: 15.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.76, allocations: 236 kB / 0.8928 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.7603, allocations: 201.4 kB / 0.893 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.7623, allocations: 1.093 MB / 0.894 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.7624, allocations: 15.88 kB / 0.8941 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7624, allocations: 0 / 0.8941 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7624, allocations: 3.984 kB / 0.8941 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.7659, allocations: 2.441 MB / 0.8964 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.766, allocations: 4 kB / 0.8964 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.7665, allocations: 136 kB / 0.8966 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.7665, allocations: 8 kB / 0.8966 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.7666, allocations: 16 kB / 0.8966 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.7666, allocations: 7.984 kB / 0.8966 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7666, allocations: 0 / 0.8966 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.768, allocations: 1.074 MB / 0.8977 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.7686, allocations: 358.3 kB / 0.898 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.7689, allocations: 16 kB / 0.898 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007763/0.7697, allocations: 39.95 kB / 0.8981 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.7698, allocations: 52.53 kB / 0.8981 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.7698, allocations: 27.92 kB / 0.8981 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001654/0.7715, allocations: 1.244 MB / 0.8993 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7715, allocations: 0 / 0.8993 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00217/0.7737, allocations: 0.9121 MB / 0.9002 GB, free: 7.168 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002319/0.776, allocations: 1.847 MB / 0.902 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.7789, allocations: 1.652 MB / 0.9037 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7789, allocations: 1.5 kB / 0.9037 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.7795, allocations: 415.8 kB / 0.904 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/0.7835, allocations: 1.085 MB / 0.9051 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/0.8041, allocations: 13.09 MB / 0.9179 GB, free: 4.777 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.8052, allocations: 1.401 MB / 0.9193 GB, free: 3.34 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001712/0.807, allocations: 400.8 kB / 0.9196 GB, free: 2.949 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.8081, allocations: 0.8347 MB / 0.9205 GB, free: 2.117 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.8081, allocations: 0 / 0.9205 GB, free: 2.117 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09014/0.8982, allocations: 56.09 MB / 0.9752 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.81, allocations: 18.05 kB / 0.9753 GB, free: 10.56 MB / 0.7325 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)