Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_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.0009627/0.0009632, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00113/0.00113, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 12 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3944, allocations: 81.58 MB / 0.5831 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.188/0.5824, allocations: 176.3 MB / 0.7553 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00794/0.5904, allocations: 4.893 MB / 0.7601 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.5914, allocations: 47.62 kB / 0.7602 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.5928, allocations: 0.6179 MB / 0.7608 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.5971, allocations: 1.886 MB / 0.7626 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.5992, allocations: 0.8976 MB / 0.7635 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003079/0.6023, allocations: 3.019 MB / 0.7664 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.6033, allocations: 0.7333 MB / 0.7672 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.6048, allocations: 0.9882 MB / 0.7681 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.6059, allocations: 0.9068 MB / 0.769 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.606, allocations: 48 kB / 0.769 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.6082, allocations: 0.9392 MB / 0.77 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.6085, allocations: 394.7 kB / 0.7703 GB, free: 312 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.6088, allocations: 265 kB / 0.7706 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.6103, allocations: 1.348 MB / 0.7719 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6104, allocations: 0 / 0.7719 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6104, allocations: 0 / 0.7719 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.6104, allocations: 0 / 0.7719 GB, free: 14.69 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.004054/0.6144, allocations: 1.689 MB / 0.7736 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6145, allocations: 12.03 kB / 0.7736 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.6146, allocations: 143.4 kB / 0.7737 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.6181, allocations: 0.7044 MB / 0.7744 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.6193, allocations: 0.8367 MB / 0.7752 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.6193, allocations: 66 kB / 0.7753 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.6195, allocations: 95.97 kB / 0.7754 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.6223, allocations: 1.474 MB / 0.7768 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.6223, allocations: 7.938 kB / 0.7768 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.6224, allocations: 32 kB / 0.7768 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.6225, allocations: 57.92 kB / 0.7769 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.6261, allocations: 1.53 MB / 0.7784 GB, free: 7.844 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.006279/0.6324, allocations: 5.491 MB / 0.7838 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.6357, allocations: 1.311 MB / 0.785 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.6372, allocations: 0.6754 MB / 0.7857 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/0.638, allocations: 0.5929 MB / 0.7863 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/0.6396, allocations: 0.7107 MB / 0.787 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.645e-06/0.6396, allocations: 0 / 0.787 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.004877/0.6445, allocations: 1.913 MB / 0.7888 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.6446, allocations: 60.06 kB / 0.7889 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.6458, allocations: 1.235 MB / 0.7901 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.6459, allocations: 41.7 kB / 0.7901 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.6463, allocations: 0.5792 MB / 0.7907 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.6465, allocations: 276.1 kB / 0.791 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.6466, allocations: 16 kB / 0.791 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6467, allocations: 345.9 kB / 0.7913 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.6482, allocations: 0.5522 MB / 0.7919 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.6498, allocations: 0.8291 MB / 0.7927 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.6512, allocations: 0.5964 MB / 0.7932 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.6512, allocations: 4 kB / 0.7933 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003334/0.6546, allocations: 1.51 MB / 0.7947 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6546, allocations: 8 kB / 0.7947 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6546, allocations: 8.844 kB / 0.7947 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6547, allocations: 12 kB / 0.7948 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.656, allocations: 303.5 kB / 0.795 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.656, allocations: 12 kB / 0.7951 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.6572, allocations: 234.6 kB / 0.7953 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/0.6573, allocations: 43.98 kB / 0.7953 GB, free: 5.93 MB / 0.6231 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004484/0.6577, allocations: 347.6 kB / 0.7957 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6579, allocations: 138.3 kB / 0.7958 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.6615, allocations: 1.42 MB / 0.7972 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6615, allocations: 8 kB / 0.7972 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6615, allocations: 0 / 0.7972 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.6615, allocations: 7.984 kB / 0.7972 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005132/0.6667, allocations: 2.818 MB / 0.7999 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6667, allocations: 4 kB / 0.7999 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.6678, allocations: 236.1 kB / 0.8002 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.6678, allocations: 8 kB / 0.8002 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/0.6679, allocations: 31.97 kB / 0.8002 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.6679, allocations: 8 kB / 0.8002 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.668, allocations: 7.938 kB / 0.8002 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004826/0.6728, allocations: 2.283 MB / 0.8024 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.6732, allocations: 299.2 kB / 0.8027 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.6734, allocations: 23.98 kB / 0.8028 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.6744, allocations: 131.8 kB / 0.8029 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6745, allocations: 68.38 kB / 0.8029 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.6746, allocations: 39.97 kB / 0.803 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009793/0.6756, allocations: 0.8444 MB / 0.8038 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6756, allocations: 96 / 0.8038 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009483/0.6766, allocations: 319.5 kB / 0.8041 GB, free: 12.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006195/0.6828, allocations: 3.251 MB / 0.8073 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003287/0.6861, allocations: 1.298 MB / 0.8086 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6861, allocations: 0 / 0.8086 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.6877, allocations: 0.656 MB / 0.8092 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.6902, allocations: 0.5626 MB / 0.8097 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2761/0.9663, allocations: 8.644 MB / 0.8182 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.967, allocations: 1.171 MB / 0.8193 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00151/0.9686, allocations: 345.9 kB / 0.8197 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006967/0.9693, allocations: 0.4889 MB / 0.8201 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.9693, allocations: 0 / 0.8201 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/1.017, allocations: 32.16 MB / 0.8515 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001255/1.017, allocations: 230 kB / 0.8518 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.462, allocations: 0 / 0.8518 GB, free: 200.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: