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.001653/0.001653, allocations: 113 kB / 16.41 MB, free: 6.492 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.001734/0.001734, allocations: 183 kB / 17.34 MB, free: 5.762 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8218/0.8218, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.16 kB / 0.5863 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.155, allocations: 80.92 MB / 0.6653 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6385/0.7935, allocations: 193.8 MB / 0.8546 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.8041, allocations: 5.134 MB / 0.8596 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.8064, allocations: 47.19 kB / 0.8597 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.8091, allocations: 0.8082 MB / 0.8605 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.8164, allocations: 2.598 MB / 0.863 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.8198, allocations: 1.111 MB / 0.8641 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004715/0.8246, allocations: 2.609 MB / 0.8666 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.8267, allocations: 0.8922 MB / 0.8675 GB, free: 220 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.8295, allocations: 1.121 MB / 0.8686 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.8315, allocations: 0.9417 MB / 0.8695 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.8319, allocations: 84 kB / 0.8696 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/0.8361, allocations: 1.777 MB / 0.8713 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007169/0.8369, allocations: 434.6 kB / 0.8718 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.8382, allocations: 0.6522 MB / 0.8724 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.8431, allocations: 2.169 MB / 0.8745 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.8431, allocations: 0 / 0.8745 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.99e-06/0.8431, allocations: 0 / 0.8745 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.555e-05/0.8432, allocations: 3.938 kB / 0.8745 GB, free: 9.023 MB / 0.6387 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.00591/0.8491, allocations: 1.922 MB / 0.8764 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8492, allocations: 9.109 kB / 0.8764 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.8532, allocations: 0.6654 MB / 0.877 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.8553, allocations: 0.9449 MB / 0.878 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.8554, allocations: 69.98 kB / 0.878 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.8556, allocations: 91.97 kB / 0.8781 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/0.8593, allocations: 1.466 MB / 0.8796 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.8593, allocations: 7.938 kB / 0.8796 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.8595, allocations: 39.94 kB / 0.8796 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/0.8596, allocations: 49.98 kB / 0.8797 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/0.8639, allocations: 1.526 MB / 0.8811 GB, free: 2.043 MB / 0.6387 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.008346/0.8723, allocations: 5.456 MB / 0.8865 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/0.8762, allocations: 1.285 MB / 0.8877 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.8779, allocations: 0.6585 MB / 0.8884 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009425/0.8789, allocations: 0.585 MB / 0.8889 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.8808, allocations: 0.7112 MB / 0.8896 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.396e-06/0.8808, allocations: 0 / 0.8896 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005747/0.8866, allocations: 1.878 MB / 0.8915 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.8867, allocations: 60.06 kB / 0.8915 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.8885, allocations: 1.242 MB / 0.8927 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.8886, allocations: 45.7 kB / 0.8928 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.8892, allocations: 0.5753 MB / 0.8933 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.8895, allocations: 280.1 kB / 0.8936 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.8898, allocations: 182.5 kB / 0.8938 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8899, allocations: 341.9 kB / 0.8941 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.8916, allocations: 0.5327 MB / 0.8946 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.8934, allocations: 0.8295 MB / 0.8954 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/0.8969, allocations: 1.324 MB / 0.8967 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.8969, allocations: 0 / 0.8967 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004109/0.901, allocations: 1.498 MB / 0.8982 GB, free: 15.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.9011, allocations: 11.94 kB / 0.8982 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.9011, allocations: 12.86 kB / 0.8982 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.9011, allocations: 12 kB / 0.8982 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.9025, allocations: 291.6 kB / 0.8985 GB, free: 15.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/0.9026, allocations: 15.94 kB / 0.8985 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.904, allocations: 198.8 kB / 0.8987 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.9042, allocations: 47.97 kB / 0.8988 GB, free: 15.3 MB / 0.67 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.0006443/0.9048, allocations: 336.8 kB / 0.8991 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.9052, allocations: 138.2 kB / 0.8992 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.9093, allocations: 1.416 MB / 0.9006 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.9093, allocations: 8 kB / 0.9006 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9093, allocations: 0 / 0.9006 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.9093, allocations: 3.984 kB / 0.9006 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.9157, allocations: 2.811 MB / 0.9034 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.9157, allocations: 0.625 kB / 0.9034 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.917, allocations: 219.8 kB / 0.9036 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.668e-05/0.917, allocations: 8 kB / 0.9036 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.9e-05/0.9171, allocations: 31.97 kB / 0.9036 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.9172, allocations: 15.94 kB / 0.9036 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.9172, allocations: 8 kB / 0.9036 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/0.9228, allocations: 2.248 MB / 0.9058 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.9235, allocations: 291.3 kB / 0.9061 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.9238, allocations: 27.98 kB / 0.9061 GB, free: 7.559 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.9251, allocations: 115.9 kB / 0.9062 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9252, allocations: 60.42 kB / 0.9063 GB, free: 7.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.9253, allocations: 36.06 kB / 0.9063 GB, free: 7.352 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001246/0.9265, allocations: 0.8561 MB / 0.9072 GB, free: 6.492 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9266, allocations: 3.938 kB / 0.9072 GB, free: 6.488 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001154/0.9277, allocations: 319.6 kB / 0.9075 GB, free: 6.176 MB / 0.67 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.001314/0.929, allocations: 0.5261 MB / 0.908 GB, free: 5.816 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003807/0.9329, allocations: 1.287 MB / 0.9092 GB, free: 4.531 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.9329, allocations: 4 kB / 0.9092 GB, free: 4.527 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.9347, allocations: 0.6402 MB / 0.9099 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/0.9377, allocations: 0.5834 MB / 0.9104 GB, free: 3.312 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.9435, allocations: 2.615 MB / 0.913 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/0.9445, allocations: 1.178 MB / 0.9141 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/0.9451, allocations: 123.4 kB / 0.9143 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of SimCode: time 8.01e-07/0.9451, allocations: 4 kB / 0.9143 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of Templates: time 0.03593/0.9811, allocations: 20.48 MB / 0.9343 GB, free: 10.92 MB / 0.7012 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)