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.001073/0.001073, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.917/0.917, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 69.95 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1323, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4253/0.5577, allocations: 193.8 MB / 0.7737 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008735/0.5665, allocations: 5.141 MB / 0.7788 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.5676, allocations: 47.69 kB / 0.7788 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.5696, allocations: 0.8158 MB / 0.7796 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.5759, allocations: 2.594 MB / 0.7821 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.5783, allocations: 1.111 MB / 0.7832 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00267/0.581, allocations: 2.611 MB / 0.7858 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.5821, allocations: 0.8922 MB / 0.7866 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.5836, allocations: 1.078 MB / 0.7877 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.5848, allocations: 0.9417 MB / 0.7886 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.5849, allocations: 80 kB / 0.7887 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.5881, allocations: 1.777 MB / 0.7904 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003735/0.5884, allocations: 438.6 kB / 0.7908 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000621/0.5891, allocations: 0.6449 MB / 0.7915 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.5918, allocations: 2.142 MB / 0.7936 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5919, allocations: 0 / 0.7936 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5919, allocations: 4 kB / 0.7936 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.5919, allocations: 0 / 0.7936 GB, free: 6.676 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.004715/0.5966, allocations: 1.921 MB / 0.7954 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5966, allocations: 8.031 kB / 0.7954 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.5968, allocations: 147.4 kB / 0.7956 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/0.6009, allocations: 0.6537 MB / 0.7962 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.6022, allocations: 0.8786 MB / 0.7971 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.6022, allocations: 69.98 kB / 0.7972 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.6024, allocations: 91.91 kB / 0.7972 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.6055, allocations: 1.47 MB / 0.7987 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6055, allocations: 7.938 kB / 0.7987 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6056, allocations: 36 kB / 0.7987 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.6057, allocations: 45.98 kB / 0.7988 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.6098, allocations: 1.528 MB / 0.8003 GB, free: 15.63 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.006984/0.6168, allocations: 5.5 MB / 0.8056 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/0.6206, allocations: 1.28 MB / 0.8069 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.6224, allocations: 0.6609 MB / 0.8075 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009694/0.6234, allocations: 0.589 MB / 0.8081 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/0.6254, allocations: 0.7035 MB / 0.8088 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 4.047e-06/0.6254, allocations: 3.938 kB / 0.8088 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005891/0.6313, allocations: 1.878 MB / 0.8106 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.6314, allocations: 60.06 kB / 0.8107 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.6328, allocations: 1.239 MB / 0.8119 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.6328, allocations: 45.7 kB / 0.8119 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/0.6333, allocations: 0.5791 MB / 0.8125 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.6336, allocations: 284.1 kB / 0.8128 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.6339, allocations: 178.5 kB / 0.8129 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.634, allocations: 342 kB / 0.8133 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.6357, allocations: 0.5367 MB / 0.8138 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.6375, allocations: 0.8174 MB / 0.8146 GB, free: 404 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.641, allocations: 1.332 MB / 0.8159 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.641, allocations: 0 / 0.8159 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004004/0.645, allocations: 1.499 MB / 0.8173 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6451, allocations: 8 kB / 0.8174 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6451, allocations: 8 kB / 0.8174 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6451, allocations: 12 kB / 0.8174 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.6466, allocations: 291.7 kB / 0.8177 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.6466, allocations: 19.92 kB / 0.8177 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.6479, allocations: 198.7 kB / 0.8179 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.49e-05/0.648, allocations: 47.97 kB / 0.8179 GB, free: 12.88 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.000503/0.6485, allocations: 343.2 kB / 0.8182 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.6488, allocations: 142.2 kB / 0.8184 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.6528, allocations: 1.401 MB / 0.8197 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.6528, allocations: 11.98 kB / 0.8198 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6528, allocations: 0 / 0.8198 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6528, allocations: 3.984 kB / 0.8198 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/0.6587, allocations: 2.799 MB / 0.8225 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.6587, allocations: 4 kB / 0.8225 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.66, allocations: 228.2 kB / 0.8227 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.66, allocations: 8 kB / 0.8227 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.6601, allocations: 27.97 kB / 0.8227 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.6602, allocations: 15.38 kB / 0.8228 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6602, allocations: 7.984 kB / 0.8228 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.6659, allocations: 2.252 MB / 0.825 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.6665, allocations: 295.3 kB / 0.8252 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.6668, allocations: 16 kB / 0.8253 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.668, allocations: 107.9 kB / 0.8254 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6681, allocations: 64.42 kB / 0.8254 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.6682, allocations: 39.97 kB / 0.8255 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001114/0.6693, allocations: 0.8561 MB / 0.8263 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6693, allocations: 96 / 0.8263 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001081/0.6704, allocations: 319.5 kB / 0.8266 GB, free: 3.77 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.007116/0.6775, allocations: 3.229 MB / 0.8298 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004122/0.6817, allocations: 1.411 MB / 0.8311 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6817, allocations: 0 / 0.8311 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.6836, allocations: 0.6443 MB / 0.8318 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.6864, allocations: 0.5926 MB / 0.8323 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.7074, allocations: 11.75 MB / 0.8438 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.7082, allocations: 1.174 MB / 0.845 GB, free: 448 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001403/0.7096, allocations: 341.9 kB / 0.8453 GB, free: 104 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007463/0.7104, allocations: 499.3 kB / 0.8458 GB, free: 15.61 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/0.7104, allocations: 3.938 kB / 0.8458 GB, free: 15.61 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8661/1.576, allocations: 33.55 MB / 0.8785 GB, free: 214.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/10.36, allocations: 7.109 kB / 0.8785 GB, free: 214.4 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)