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.00146/0.00146, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001457/0.001457, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8277/0.8277, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.334, allocations: 80.91 MB / 0.5851 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5206/0.8546, allocations: 193.8 MB / 0.7743 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008303/0.8629, allocations: 5.147 MB / 0.7793 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.8646, allocations: 50 kB / 0.7794 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.8665, allocations: 0.8094 MB / 0.7802 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006646/0.8733, allocations: 2.6 MB / 0.7827 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.8761, allocations: 1.103 MB / 0.7838 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003194/0.8793, allocations: 2.609 MB / 0.7863 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.8806, allocations: 0.8986 MB / 0.7872 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.8823, allocations: 1.071 MB / 0.7883 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.8834, allocations: 0.9485 MB / 0.7892 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.8835, allocations: 79.25 kB / 0.7893 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.8866, allocations: 1.782 MB / 0.791 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.887, allocations: 434.8 kB / 0.7914 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006568/0.8877, allocations: 0.6407 MB / 0.792 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.8905, allocations: 2.143 MB / 0.7941 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8905, allocations: 0 / 0.7941 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8906, allocations: 3.938 kB / 0.7941 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.8906, allocations: 0.8125 kB / 0.7941 GB, free: 0.8516 MB / 0.5762 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.004491/0.8951, allocations: 1.929 MB / 0.796 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.8951, allocations: 10.52 kB / 0.796 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/0.8989, allocations: 0.6633 MB / 0.7967 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.9003, allocations: 0.8793 MB / 0.7975 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.9004, allocations: 65.81 kB / 0.7976 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.9005, allocations: 93.88 kB / 0.7977 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.9034, allocations: 1.47 MB / 0.7991 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.9034, allocations: 5.219 kB / 0.7991 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.9035, allocations: 41.75 kB / 0.7992 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.9036, allocations: 44.78 kB / 0.7992 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.9073, allocations: 1.524 MB / 0.8007 GB, free: 15.19 MB / 0.5919 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.007312/0.9147, allocations: 5.49 MB / 0.8061 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.9181, allocations: 1.287 MB / 0.8073 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.9196, allocations: 0.6531 MB / 0.808 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009093/0.9206, allocations: 0.5785 MB / 0.8085 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.9223, allocations: 0.7204 MB / 0.8092 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.186e-06/0.9223, allocations: 0 / 0.8092 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005341/0.9276, allocations: 1.874 MB / 0.8111 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.9277, allocations: 60.5 kB / 0.8111 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.9292, allocations: 1.243 MB / 0.8123 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.9293, allocations: 41.02 kB / 0.8124 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.9297, allocations: 0.5773 MB / 0.8129 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.93, allocations: 279.3 kB / 0.8132 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.9303, allocations: 195.3 kB / 0.8134 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9304, allocations: 343.1 kB / 0.8137 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.9319, allocations: 0.5311 MB / 0.8142 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.9337, allocations: 0.8227 MB / 0.815 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/0.9369, allocations: 1.328 MB / 0.8163 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.9369, allocations: 2.5 kB / 0.8163 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004098/0.941, allocations: 1.497 MB / 0.8178 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.9411, allocations: 13.75 kB / 0.8178 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.9411, allocations: 7.969 kB / 0.8178 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.9411, allocations: 14.55 kB / 0.8178 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.9425, allocations: 293.8 kB / 0.8181 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.9425, allocations: 13.22 kB / 0.8181 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.9439, allocations: 199 kB / 0.8183 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/0.944, allocations: 49.59 kB / 0.8184 GB, free: 9.188 MB / 0.5919 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.000597/0.9446, allocations: 343.3 kB / 0.8187 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.9449, allocations: 140.5 kB / 0.8188 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.9486, allocations: 1.411 MB / 0.8202 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.9487, allocations: 8 kB / 0.8202 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9487, allocations: 0 / 0.8202 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.9487, allocations: 6.547 kB / 0.8202 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/0.9545, allocations: 2.796 MB / 0.8229 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.9545, allocations: 5.031 kB / 0.823 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.9557, allocations: 222.8 kB / 0.8232 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.9558, allocations: 12.53 kB / 0.8232 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.9558, allocations: 28.3 kB / 0.8232 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.9559, allocations: 12.7 kB / 0.8232 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.9559, allocations: 5.906 kB / 0.8232 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/0.9615, allocations: 2.247 MB / 0.8254 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/0.9622, allocations: 294.9 kB / 0.8257 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.9624, allocations: 24.14 kB / 0.8257 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9635, allocations: 110.1 kB / 0.8258 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.9636, allocations: 63.61 kB / 0.8259 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.9637, allocations: 39.97 kB / 0.8259 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001198/0.9649, allocations: 0.8522 MB / 0.8268 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9649, allocations: 0 / 0.8268 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00107/0.966, allocations: 319.5 kB / 0.8271 GB, free: 4.801 MB / 0.5919 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.001788/0.9678, allocations: 0.5291 MB / 0.8276 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004304/0.9721, allocations: 1.417 MB / 0.829 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.9721, allocations: 0 / 0.829 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.974, allocations: 0.6378 MB / 0.8296 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.9769, allocations: 0.5926 MB / 0.8302 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.9824, allocations: 2.652 MB / 0.8328 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/0.9832, allocations: 1.17 MB / 0.8339 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/0.9838, allocations: 131.4 kB / 0.834 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.9838, allocations: 0 / 0.834 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of Templates: time 0.03199/1.016, allocations: 20.35 MB / 0.8539 GB, free: 9.684 MB / 0.6231 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)