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.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001321/0.001321, allocations: 201.6 kB / 16.14 MB, free: 6.793 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8582/0.8582, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 60.84 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 80.93 MB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4121/0.5514, allocations: 191.5 MB / 0.7709 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008954/0.5604, allocations: 5.184 MB / 0.7759 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.5621, allocations: 43.69 kB / 0.776 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.5645, allocations: 0.7116 MB / 0.7767 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.5706, allocations: 2.448 MB / 0.779 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.5732, allocations: 1.001 MB / 0.78 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003992/0.5772, allocations: 3.551 MB / 0.7835 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.5787, allocations: 0.8189 MB / 0.7843 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.5809, allocations: 0.988 MB / 0.7853 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.5825, allocations: 0.9961 MB / 0.7862 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.5828, allocations: 48 kB / 0.7863 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.5868, allocations: 2.069 MB / 0.7883 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006015/0.5874, allocations: 414.6 kB / 0.7887 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009719/0.5884, allocations: 0.6136 MB / 0.7893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004088/0.5925, allocations: 2.208 MB / 0.7914 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5925, allocations: 4 kB / 0.7915 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5925, allocations: 0 / 0.7915 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.15e-05/0.5926, allocations: 0 / 0.7915 GB, free: 8.598 MB / 0.6075 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.005796/0.5984, allocations: 1.936 MB / 0.7933 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5985, allocations: 16.03 kB / 0.7934 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/0.5987, allocations: 135.5 kB / 0.7935 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.6029, allocations: 0.6615 MB / 0.7941 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.6043, allocations: 0.8826 MB / 0.795 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.6044, allocations: 69.98 kB / 0.7951 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.6046, allocations: 87.91 kB / 0.7951 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.6078, allocations: 1.474 MB / 0.7966 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.6079, allocations: 3.938 kB / 0.7966 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.608, allocations: 35.98 kB / 0.7966 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.608, allocations: 57.92 kB / 0.7967 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004164/0.6122, allocations: 1.518 MB / 0.7982 GB, free: 1.523 MB / 0.6075 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.007405/0.6196, allocations: 5.466 MB / 0.8035 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/0.6234, allocations: 1.292 MB / 0.8048 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.6251, allocations: 0.6609 MB / 0.8054 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009012/0.6261, allocations: 0.5812 MB / 0.806 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.628, allocations: 0.703 MB / 0.8067 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.276e-06/0.628, allocations: 0 / 0.8067 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005677/0.6337, allocations: 1.878 MB / 0.8085 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.6338, allocations: 64 kB / 0.8086 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.6353, allocations: 1.239 MB / 0.8098 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.353e-05/0.6354, allocations: 45.7 kB / 0.8098 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.6359, allocations: 0.5792 MB / 0.8104 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.6361, allocations: 276.1 kB / 0.8106 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.6365, allocations: 182.5 kB / 0.8108 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6366, allocations: 342 kB / 0.8111 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.6382, allocations: 0.5327 MB / 0.8117 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.64, allocations: 0.8368 MB / 0.8125 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.6433, allocations: 1.317 MB / 0.8138 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6433, allocations: 0 / 0.8138 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003927/0.6473, allocations: 1.503 MB / 0.8152 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6473, allocations: 8 kB / 0.8152 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6473, allocations: 11.94 kB / 0.8152 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.6474, allocations: 15.98 kB / 0.8153 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.6488, allocations: 295.8 kB / 0.8155 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.6488, allocations: 19.92 kB / 0.8156 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.6503, allocations: 218.7 kB / 0.8158 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.6504, allocations: 43.98 kB / 0.8158 GB, free: 14.79 MB / 0.6387 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.0005389/0.651, allocations: 336.8 kB / 0.8161 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.6513, allocations: 138.2 kB / 0.8163 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003874/0.6551, allocations: 1.419 MB / 0.8177 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6552, allocations: 8 kB / 0.8177 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6552, allocations: 0 / 0.8177 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.6552, allocations: 3.984 kB / 0.8177 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005904/0.6611, allocations: 2.799 MB / 0.8204 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6611, allocations: 4 kB / 0.8204 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.6624, allocations: 216.1 kB / 0.8206 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.6624, allocations: 12 kB / 0.8206 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/0.6625, allocations: 31.97 kB / 0.8206 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.6625, allocations: 11.94 kB / 0.8207 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6625, allocations: 4 kB / 0.8207 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005472/0.668, allocations: 2.244 MB / 0.8229 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.6685, allocations: 303.2 kB / 0.8231 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.6687, allocations: 23.94 kB / 0.8232 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.67, allocations: 135.7 kB / 0.8233 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.6701, allocations: 68.36 kB / 0.8234 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/0.6702, allocations: 31.98 kB / 0.8234 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001082/0.6713, allocations: 0.8522 MB / 0.8242 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6713, allocations: 4 kB / 0.8242 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001012/0.6723, allocations: 311.7 kB / 0.8245 GB, free: 5.66 MB / 0.6387 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.006913/0.6792, allocations: 3.227 MB / 0.8277 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003662/0.6829, allocations: 1.279 MB / 0.8289 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.6829, allocations: 0 / 0.8289 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.6847, allocations: 0.6443 MB / 0.8296 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.6874, allocations: 0.5698 MB / 0.8301 GB, free: 76 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/0.7095, allocations: 12.1 MB / 0.8419 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.7103, allocations: 1.171 MB / 0.8431 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001487/0.7118, allocations: 337.9 kB / 0.8434 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007921/0.7126, allocations: 0.4953 MB / 0.8439 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/0.7126, allocations: 0 / 0.8439 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8226/1.535, allocations: 32.41 MB / 0.8755 GB, free: 218.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.535, allocations: 252.6 kB / 0.8758 GB, free: 218.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/4.186, allocations: 1.094 kB / 0.8758 GB, free: 218.1 MB / 0.67 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)