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.007295/0.007295, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001235/0.001235, allocations: 190 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9359/0.9359, allocations: 135.1 MB / 425.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.88 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4141, allocations: 80.9 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2052/0.6194, allocations: 193.8 MB / 0.8535 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008423/0.6279, allocations: 5.142 MB / 0.8585 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.6292, allocations: 51.62 kB / 0.8585 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.6313, allocations: 0.8081 MB / 0.8593 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006001/0.6375, allocations: 2.598 MB / 0.8619 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.6402, allocations: 1.108 MB / 0.8629 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003493/0.6437, allocations: 2.621 MB / 0.8655 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.645, allocations: 0.8922 MB / 0.8664 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.6471, allocations: 1.105 MB / 0.8675 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4261/1.073, allocations: 0.9476 MB / 0.8684 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003478/1.074, allocations: 78.59 kB / 0.8685 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/1.077, allocations: 1.783 MB / 0.8702 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005658/1.078, allocations: 430.5 kB / 0.8706 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.079, allocations: 0.645 MB / 0.8712 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004163/1.083, allocations: 2.173 MB / 0.8734 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.083, allocations: 4.844 kB / 0.8734 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.256e-06/1.083, allocations: 2.484 kB / 0.8734 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.365e-05/1.083, allocations: 3.094 kB / 0.8734 GB, free: 5.617 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.005241/1.088, allocations: 1.918 MB / 0.8752 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.088, allocations: 10.75 kB / 0.8752 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/1.089, allocations: 143.6 kB / 0.8754 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004044/1.093, allocations: 0.6638 MB / 0.876 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/1.094, allocations: 0.9412 MB / 0.877 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/1.094, allocations: 68.41 kB / 0.877 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/1.095, allocations: 94.92 kB / 0.8771 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/1.098, allocations: 1.467 MB / 0.8785 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/1.098, allocations: 2.531 kB / 0.8785 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.098, allocations: 41.38 kB / 0.8786 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.077e-05/1.098, allocations: 47.91 kB / 0.8786 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/1.102, allocations: 1.521 MB / 0.8801 GB, free: 3.934 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.007418/1.11, allocations: 5.462 MB / 0.8854 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/1.113, allocations: 1.279 MB / 0.8867 GB, free: 16.95 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/1.115, allocations: 0.6589 MB / 0.8873 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008807/1.116, allocations: 0.5813 MB / 0.8879 GB, free: 16.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/1.118, allocations: 0.7137 MB / 0.8886 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.136e-06/1.118, allocations: 0 / 0.8886 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.005596/1.123, allocations: 1.873 MB / 0.8904 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.123, allocations: 60.91 kB / 0.8905 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/1.125, allocations: 1.237 MB / 0.8917 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.125, allocations: 45.2 kB / 0.8917 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/1.126, allocations: 0.581 MB / 0.8923 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/1.126, allocations: 275.5 kB / 0.8926 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/1.126, allocations: 187.6 kB / 0.8928 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.126, allocations: 343.6 kB / 0.8931 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/1.128, allocations: 0.538 MB / 0.8936 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/1.129, allocations: 0.8213 MB / 0.8944 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/1.132, allocations: 1.327 MB / 0.8957 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.133, allocations: 2.719 kB / 0.8957 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003699/1.136, allocations: 1.499 MB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.136, allocations: 8.062 kB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.136, allocations: 9.062 kB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.136, allocations: 11.56 kB / 0.8972 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.138, allocations: 295.5 kB / 0.8975 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/1.138, allocations: 14.31 kB / 0.8975 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.139, allocations: 207.9 kB / 0.8977 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.139, allocations: 50.64 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.0006434/1.14, allocations: 335.2 kB / 0.8981 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/1.14, allocations: 138 kB / 0.8982 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/1.144, allocations: 1.408 MB / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.144, allocations: 7.719 kB / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.144, allocations: 1.031 kB / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.144, allocations: 2.484 kB / 0.8996 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/1.15, allocations: 2.803 MB / 0.9023 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.15, allocations: 4.594 kB / 0.9023 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.151, allocations: 228 kB / 0.9025 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.151, allocations: 8.531 kB / 0.9025 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/1.151, allocations: 30.95 kB / 0.9026 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.151, allocations: 6.812 kB / 0.9026 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.151, allocations: 9.188 kB / 0.9026 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/1.156, allocations: 2.243 MB / 0.9048 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/1.157, allocations: 312.5 kB / 0.9051 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/1.157, allocations: 17.25 kB / 0.9051 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.159, allocations: 110.4 kB / 0.9052 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.159, allocations: 68 kB / 0.9053 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/1.159, allocations: 36.5 kB / 0.9053 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001178/1.16, allocations: 0.858 MB / 0.9061 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/1.16, allocations: 0 / 0.9061 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001246/1.161, allocations: 311.2 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.006207/1.167, allocations: 3.223 MB / 0.9096 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003265/1.171, allocations: 1.285 MB / 0.9108 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.171, allocations: 1.453 kB / 0.9108 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/1.172, allocations: 0.6477 MB / 0.9115 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.175, allocations: 0.6044 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.02122/1.196, allocations: 10.93 MB / 0.9227 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/1.197, allocations: 1.17 MB / 0.9239 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001357/1.199, allocations: 352.2 kB / 0.9242 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/1.199, allocations: 0.4929 MB / 0.9247 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of SimCode: time 7.91e-07/1.199, allocations: 0 / 0.9247 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06537/1.265, allocations: 34.45 MB / 0.9583 GB, free: 116 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.57, allocations: 10.5 kB / 0.9583 GB, free: 108 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)