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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009312/0.000931, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008582/0.0008583, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9641/0.9641, allocations: 135.3 MB / 427.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 13.53 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5107/0.6824, allocations: 189 MB / 0.7732 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009424/0.6918, allocations: 5.142 MB / 0.7782 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.6934, allocations: 39.69 kB / 0.7782 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.6957, allocations: 0.7155 MB / 0.7789 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007552/0.7033, allocations: 2.448 MB / 0.7813 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.7065, allocations: 1.003 MB / 0.7823 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.7113, allocations: 3.551 MB / 0.7858 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.7131, allocations: 0.8033 MB / 0.7865 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.7156, allocations: 0.9841 MB / 0.7875 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.7174, allocations: 0.9611 MB / 0.7884 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003063/0.7178, allocations: 44 kB / 0.7885 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.7219, allocations: 2.061 MB / 0.7905 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.7226, allocations: 406.6 kB / 0.7909 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.7239, allocations: 0.6308 MB / 0.7915 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.727, allocations: 1.489 MB / 0.793 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.727, allocations: 3.938 kB / 0.793 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.727, allocations: 0 / 0.793 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.539e-05/0.7271, allocations: 0 / 0.793 GB, free: 11.16 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.0055/0.7326, allocations: 1.683 MB / 0.7946 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7327, allocations: 8.031 kB / 0.7946 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.7369, allocations: 0.7084 MB / 0.7953 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.7388, allocations: 0.8787 MB / 0.7962 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.7389, allocations: 66 kB / 0.7962 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.7391, allocations: 83.98 kB / 0.7963 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00325/0.7424, allocations: 1.493 MB / 0.7978 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7424, allocations: 4 kB / 0.7978 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.7425, allocations: 32 kB / 0.7978 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.847e-05/0.7426, allocations: 49.98 kB / 0.7978 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.7468, allocations: 1.549 MB / 0.7994 GB, free: 4.418 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.007838/0.7546, allocations: 5.488 MB / 0.8047 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.7585, allocations: 1.331 MB / 0.806 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.7603, allocations: 0.6727 MB / 0.8067 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009344/0.7613, allocations: 0.5968 MB / 0.8073 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.7632, allocations: 0.7224 MB / 0.808 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.757e-06/0.7632, allocations: 0 / 0.808 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005699/0.7689, allocations: 1.909 MB / 0.8098 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.769, allocations: 64 kB / 0.8099 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.7706, allocations: 1.239 MB / 0.8111 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7707, allocations: 41.7 kB / 0.8111 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.7712, allocations: 0.5831 MB / 0.8117 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.7715, allocations: 272.1 kB / 0.812 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.7716, allocations: 77.67 kB / 0.812 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7718, allocations: 342 kB / 0.8124 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.7734, allocations: 0.5523 MB / 0.8129 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.7753, allocations: 0.8291 MB / 0.8137 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.7787, allocations: 1.348 MB / 0.815 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.7787, allocations: 4 kB / 0.815 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004105/0.7828, allocations: 1.518 MB / 0.8165 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.7829, allocations: 8.875 kB / 0.8165 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.7829, allocations: 8 kB / 0.8165 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.783, allocations: 12 kB / 0.8165 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.7844, allocations: 307.5 kB / 0.8168 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.7845, allocations: 12 kB / 0.8168 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.786, allocations: 230.6 kB / 0.8171 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.7861, allocations: 56.06 kB / 0.8171 GB, free: 1.559 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 ($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.0005767/0.7867, allocations: 344.5 kB / 0.8175 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.7869, allocations: 138.3 kB / 0.8176 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.7909, allocations: 1.427 MB / 0.819 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.7909, allocations: 8 kB / 0.819 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.7909, allocations: 4 kB / 0.819 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.7909, allocations: 7.984 kB / 0.819 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006034/0.797, allocations: 2.82 MB / 0.8217 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.797, allocations: 7.938 kB / 0.8218 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.7983, allocations: 236.2 kB / 0.822 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.7983, allocations: 4 kB / 0.822 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/0.7984, allocations: 27.97 kB / 0.822 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.7984, allocations: 8 kB / 0.822 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.7984, allocations: 7.938 kB / 0.822 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/0.804, allocations: 2.283 MB / 0.8243 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.8046, allocations: 311.1 kB / 0.8246 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.8048, allocations: 19.98 kB / 0.8246 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.806, allocations: 139.8 kB / 0.8247 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.8061, allocations: 64.38 kB / 0.8248 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/0.8062, allocations: 39.91 kB / 0.8248 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001099/0.8073, allocations: 0.8522 MB / 0.8256 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8073, allocations: 0 / 0.8256 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001079/0.8084, allocations: 323.6 kB / 0.8259 GB, free: 8.32 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.001255/0.8097, allocations: 0.5119 MB / 0.8264 GB, free: 8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003816/0.8135, allocations: 1.306 MB / 0.8277 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.8136, allocations: 4.25 kB / 0.8277 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.8154, allocations: 0.6558 MB / 0.8284 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/0.8191, allocations: 0.5599 MB / 0.8289 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.8246, allocations: 3.134 MB / 0.832 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.8253, allocations: 1.167 MB / 0.8331 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.8259, allocations: 127.4 kB / 0.8332 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/0.8259, allocations: 3.938 kB / 0.8332 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of Templates: time 0.03133/0.8573, allocations: 20.13 MB / 0.8529 GB, free: 12.95 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)