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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001366/0.001366, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.001086/0.001087, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7959/0.7959, allocations: 132.2 MB / 423.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4922, allocations: 80.18 MB / 0.5807 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5843/1.077, allocations: 193.8 MB / 0.77 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009238/1.086, allocations: 5.147 MB / 0.775 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/1.088, allocations: 49.31 kB / 0.7751 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/1.09, allocations: 0.8139 MB / 0.7759 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007426/1.097, allocations: 2.592 MB / 0.7784 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/1.101, allocations: 1.11 MB / 0.7795 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004532/1.105, allocations: 2.606 MB / 0.782 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/1.107, allocations: 0.8925 MB / 0.7829 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/1.11, allocations: 1.079 MB / 0.784 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/1.112, allocations: 0.9504 MB / 0.7849 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002908/1.112, allocations: 80.25 kB / 0.785 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/1.117, allocations: 1.777 MB / 0.7867 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006918/1.117, allocations: 436 kB / 0.7871 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/1.119, allocations: 0.6419 MB / 0.7877 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00511/1.124, allocations: 2.14 MB / 0.7898 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.124, allocations: 0 / 0.7898 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/1.124, allocations: 0.75 kB / 0.7898 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.451e-05/1.124, allocations: 0 / 0.7898 GB, free: 0.9805 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.005398/1.129, allocations: 1.938 MB / 0.7917 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.129, allocations: 7.531 kB / 0.7917 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/1.133, allocations: 0.6606 MB / 0.7924 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/1.135, allocations: 0.8821 MB / 0.7932 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/1.135, allocations: 67.31 kB / 0.7933 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/1.135, allocations: 83.83 kB / 0.7934 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/1.138, allocations: 1.474 MB / 0.7948 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/1.138, allocations: 4 kB / 0.7948 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.138, allocations: 38.22 kB / 0.7949 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.741e-05/1.138, allocations: 46.31 kB / 0.7949 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/1.142, allocations: 1.521 MB / 0.7964 GB, free: 15.32 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.007884/1.15, allocations: 5.505 MB / 0.8018 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/1.154, allocations: 1.283 MB / 0.803 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/1.156, allocations: 0.6594 MB / 0.8037 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009434/1.157, allocations: 0.5769 MB / 0.8042 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/1.159, allocations: 0.7152 MB / 0.8049 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.858e-06/1.159, allocations: 2.562 kB / 0.8049 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005736/1.164, allocations: 1.877 MB / 0.8068 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/1.165, allocations: 62.47 kB / 0.8068 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/1.166, allocations: 1.241 MB / 0.808 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/1.166, allocations: 43.75 kB / 0.8081 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/1.167, allocations: 0.5763 MB / 0.8086 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/1.167, allocations: 281 kB / 0.8089 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/1.167, allocations: 185.6 kB / 0.8091 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.167, allocations: 341 kB / 0.8094 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/1.169, allocations: 0.5353 MB / 0.8099 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/1.171, allocations: 0.8242 MB / 0.8107 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/1.174, allocations: 1.328 MB / 0.812 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/1.174, allocations: 0 / 0.812 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00407/1.179, allocations: 1.493 MB / 0.8135 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.179, allocations: 11.5 kB / 0.8135 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.179, allocations: 10.03 kB / 0.8135 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/1.179, allocations: 15.59 kB / 0.8135 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.18, allocations: 295 kB / 0.8138 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-05/1.18, allocations: 15.38 kB / 0.8138 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.182, allocations: 199.1 kB / 0.814 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.182, allocations: 51.23 kB / 0.8141 GB, free: 9.668 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.0006527/1.182, allocations: 342.9 kB / 0.8144 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/1.183, allocations: 136.9 kB / 0.8145 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/1.187, allocations: 1.404 MB / 0.8159 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/1.187, allocations: 5.906 kB / 0.8159 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.187, allocations: 0 / 0.8159 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.187, allocations: 9.891 kB / 0.8159 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/1.193, allocations: 2.787 MB / 0.8186 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.193, allocations: 2.906 kB / 0.8186 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.194, allocations: 226.1 kB / 0.8188 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/1.194, allocations: 11.53 kB / 0.8188 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/1.195, allocations: 32 kB / 0.8189 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/1.195, allocations: 11.33 kB / 0.8189 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.195, allocations: 8.281 kB / 0.8189 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/1.2, allocations: 2.247 MB / 0.8211 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/1.201, allocations: 297.5 kB / 0.8214 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/1.202, allocations: 26.81 kB / 0.8214 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.203, allocations: 111.1 kB / 0.8215 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.203, allocations: 61.44 kB / 0.8216 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/1.203, allocations: 35.72 kB / 0.8216 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001357/1.205, allocations: 0.8578 MB / 0.8224 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/1.205, allocations: 0 / 0.8224 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001505/1.206, allocations: 320.6 kB / 0.8227 GB, free: 6.535 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.001499/1.208, allocations: 0.5303 MB / 0.8233 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004263/1.212, allocations: 1.408 MB / 0.8246 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.212, allocations: 0 / 0.8246 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.214, allocations: 0.6443 MB / 0.8253 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/1.217, allocations: 0.5854 MB / 0.8258 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/1.223, allocations: 2.655 MB / 0.8284 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009103/1.224, allocations: 1.178 MB / 0.8296 GB, free: 344 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/1.225, allocations: 123.4 kB / 0.8297 GB, free: 220 kB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/1.225, allocations: 0 / 0.8297 GB, free: 220 kB / 0.5919 GB Notification: Performance of Templates: time 0.03519/1.26, allocations: 20.36 MB / 0.8496 GB, free: 12.05 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (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 & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)