Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.005207/0.005207, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001253/0.001253, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9734/0.9734, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 68.03 kB / 0.5852 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3822, allocations: 80.91 MB / 0.6642 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1961/0.5784, allocations: 193.8 MB / 0.8535 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009033/0.5874, allocations: 5.152 MB / 0.8585 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.5888, allocations: 47.69 kB / 0.8585 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.5908, allocations: 0.8042 MB / 0.8593 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006155/0.597, allocations: 2.602 MB / 0.8619 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.5998, allocations: 1.104 MB / 0.8629 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003635/0.6035, allocations: 2.621 MB / 0.8655 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.605, allocations: 0.8883 MB / 0.8664 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.6072, allocations: 1.109 MB / 0.8675 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4306/1.038, allocations: 0.9471 MB / 0.8684 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005466/1.038, allocations: 78.59 kB / 0.8685 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/1.044, allocations: 1.779 MB / 0.8702 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/1.045, allocations: 436.8 kB / 0.8706 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/1.047, allocations: 0.6416 MB / 0.8712 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008037/1.055, allocations: 2.175 MB / 0.8734 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/1.055, allocations: 0 / 0.8734 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/1.055, allocations: 0.8438 kB / 0.8734 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001032/1.055, allocations: 0 / 0.8734 GB, free: 5.621 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.01021/1.066, allocations: 1.927 MB / 0.8752 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.805e-05/1.066, allocations: 8.875 kB / 0.8753 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004685/1.066, allocations: 147.1 kB / 0.8754 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006435/1.073, allocations: 0.6583 MB / 0.876 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/1.076, allocations: 0.9448 MB / 0.877 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/1.076, allocations: 69.2 kB / 0.877 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/1.076, allocations: 91.34 kB / 0.8771 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/1.08, allocations: 1.47 MB / 0.8785 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.08, allocations: 5.219 kB / 0.8786 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/1.081, allocations: 38.28 kB / 0.8786 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.682e-05/1.081, allocations: 49.83 kB / 0.8786 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/1.085, allocations: 1.518 MB / 0.8801 GB, free: 3.938 MB / 0.6856 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.008056/1.093, allocations: 5.465 MB / 0.8855 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/1.097, allocations: 1.279 MB / 0.8867 GB, free: 16.95 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/1.099, allocations: 0.6528 MB / 0.8873 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/1.1, allocations: 0.5812 MB / 0.8879 GB, free: 16.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00197/1.102, allocations: 0.7196 MB / 0.8886 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 4.538e-06/1.102, allocations: 0 / 0.8886 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.006039/1.108, allocations: 1.872 MB / 0.8904 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/1.108, allocations: 59.97 kB / 0.8905 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/1.11, allocations: 1.243 MB / 0.8917 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/1.11, allocations: 43.33 kB / 0.8918 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/1.11, allocations: 0.5805 MB / 0.8923 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/1.111, allocations: 274.8 kB / 0.8926 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/1.111, allocations: 187.5 kB / 0.8928 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.111, allocations: 340.5 kB / 0.8931 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/1.113, allocations: 0.5414 MB / 0.8936 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/1.115, allocations: 0.8224 MB / 0.8944 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/1.118, allocations: 1.325 MB / 0.8957 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.118, allocations: 2.094 kB / 0.8957 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004425/1.123, allocations: 1.494 MB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.123, allocations: 9.062 kB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.123, allocations: 6.438 kB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/1.123, allocations: 14.03 kB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/1.124, allocations: 299.6 kB / 0.8975 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/1.124, allocations: 14.19 kB / 0.8975 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.126, allocations: 199.4 kB / 0.8977 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/1.126, allocations: 48.67 kB / 0.8977 GB, free: 14.54 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0006746/1.127, allocations: 340.3 kB / 0.8981 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/1.127, allocations: 137.8 kB / 0.8982 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/1.131, allocations: 1.411 MB / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.131, allocations: 9.859 kB / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.131, allocations: 0 / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.131, allocations: 3.578 kB / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006068/1.137, allocations: 2.8 MB / 0.9023 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.137, allocations: 5.062 kB / 0.9023 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.138, allocations: 224.9 kB / 0.9025 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.138, allocations: 9.062 kB / 0.9025 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.138, allocations: 29.47 kB / 0.9026 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/1.138, allocations: 15.62 kB / 0.9026 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.138, allocations: 5.156 kB / 0.9026 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/1.144, allocations: 2.241 MB / 0.9048 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008048/1.145, allocations: 309.4 kB / 0.9051 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/1.145, allocations: 25.09 kB / 0.9051 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.146, allocations: 109.5 kB / 0.9052 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.146, allocations: 62.3 kB / 0.9053 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/1.147, allocations: 39.77 kB / 0.9053 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009856/1.148, allocations: 0.8535 MB / 0.9061 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.148, allocations: 0 / 0.9061 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001203/1.149, allocations: 314.6 kB / 0.9064 GB, free: 13.06 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.007457/1.156, allocations: 3.228 MB / 0.9096 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003863/1.16, allocations: 1.282 MB / 0.9108 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.16, allocations: 1.781 kB / 0.9108 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.162, allocations: 0.6447 MB / 0.9115 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.165, allocations: 0.5912 MB / 0.9121 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/1.184, allocations: 10.94 MB / 0.9227 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/1.185, allocations: 1.175 MB / 0.9239 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001314/1.187, allocations: 344.3 kB / 0.9242 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/1.187, allocations: 0.4921 MB / 0.9247 GB, free: 7.918 MB / 0.7012 GB Notification: Performance of SimCode: time 1.963e-06/1.187, allocations: 0 / 0.9247 GB, free: 7.918 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06585/1.253, allocations: 34.44 MB / 0.9583 GB, free: 260 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/12.06, allocations: 17.2 kB / 0.9583 GB, free: 248 kB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)