Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.007343/0.007343, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001732/0.001732, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7488/0.7488, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 60.59 kB / 0.5852 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 80.92 MB / 0.6642 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5552/0.7069, allocations: 193.8 MB / 0.8535 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008948/0.7159, allocations: 5.13 MB / 0.8585 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.7174, allocations: 46.94 kB / 0.8585 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.7196, allocations: 0.8097 MB / 0.8593 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006663/0.7263, allocations: 2.597 MB / 0.8619 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.7293, allocations: 1.109 MB / 0.8629 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003822/0.7331, allocations: 2.6 MB / 0.8655 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.7347, allocations: 0.8884 MB / 0.8663 GB, free: 372 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.7371, allocations: 1.105 MB / 0.8674 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.7384, allocations: 0.965 MB / 0.8684 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.7386, allocations: 84 kB / 0.8684 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.7425, allocations: 1.789 MB / 0.8702 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.743, allocations: 442.6 kB / 0.8706 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007121/0.7437, allocations: 0.6459 MB / 0.8712 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.7468, allocations: 2.185 MB / 0.8734 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7469, allocations: 0 / 0.8734 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7469, allocations: 0 / 0.8734 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.7469, allocations: 0 / 0.8734 GB, free: 9.137 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.004516/0.7514, allocations: 1.926 MB / 0.8753 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7515, allocations: 20.98 kB / 0.8753 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.7516, allocations: 139.4 kB / 0.8754 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/0.7559, allocations: 0.7044 MB / 0.8761 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.7576, allocations: 0.9527 MB / 0.877 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.7577, allocations: 69.98 kB / 0.8771 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.7579, allocations: 91.62 kB / 0.8772 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.7609, allocations: 1.465 MB / 0.8786 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.761, allocations: 0 / 0.8786 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.7611, allocations: 35.98 kB / 0.8787 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.7612, allocations: 53.92 kB / 0.8787 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.7653, allocations: 1.553 MB / 0.8802 GB, free: 1.953 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.006694/0.772, allocations: 5.007 MB / 0.8851 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.7754, allocations: 1.189 MB / 0.8863 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.7771, allocations: 0.6624 MB / 0.8869 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.7785, allocations: 0.9487 MB / 0.8878 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.7803, allocations: 0.7224 MB / 0.8886 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.326e-06/0.7804, allocations: 0 / 0.8886 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.006038/0.7864, allocations: 1.948 MB / 0.8905 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.7865, allocations: 68.05 kB / 0.8905 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.788, allocations: 1.272 MB / 0.8918 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.7881, allocations: 41.7 kB / 0.8918 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.7885, allocations: 0.5716 MB / 0.8924 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.7888, allocations: 284 kB / 0.8926 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.7891, allocations: 178.5 kB / 0.8928 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7892, allocations: 341.9 kB / 0.8931 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.7909, allocations: 0.5523 MB / 0.8937 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.7928, allocations: 0.8208 MB / 0.8945 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/0.7963, allocations: 1.34 MB / 0.8958 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7963, allocations: 0 / 0.8958 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00416/0.8005, allocations: 1.522 MB / 0.8973 GB, free: 15.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.8005, allocations: 8 kB / 0.8973 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.8005, allocations: 8 kB / 0.8973 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.8006, allocations: 12 kB / 0.8973 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.802, allocations: 295.8 kB / 0.8976 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.802, allocations: 19.88 kB / 0.8976 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.8033, allocations: 190.8 kB / 0.8978 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/0.8034, allocations: 51.97 kB / 0.8978 GB, free: 15.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005083/0.8039, allocations: 339.7 kB / 0.8981 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.8041, allocations: 138.3 kB / 0.8983 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/0.808, allocations: 1.456 MB / 0.8997 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.808, allocations: 8 kB / 0.8997 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.808, allocations: 4.625 kB / 0.8997 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.808, allocations: 3.984 kB / 0.8997 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.8139, allocations: 2.854 MB / 0.9025 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.8139, allocations: 4 kB / 0.9025 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.8152, allocations: 228.1 kB / 0.9027 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.8152, allocations: 11.31 kB / 0.9027 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.8153, allocations: 31.97 kB / 0.9028 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.8153, allocations: 11.94 kB / 0.9028 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.8153, allocations: 7.938 kB / 0.9028 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.8208, allocations: 2.31 MB / 0.905 GB, free: 7.617 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.8214, allocations: 299.3 kB / 0.9053 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.8215, allocations: 20 kB / 0.9053 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.8226, allocations: 111.9 kB / 0.9055 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8228, allocations: 60.44 kB / 0.9055 GB, free: 7.117 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.8229, allocations: 36.06 kB / 0.9055 GB, free: 7.082 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009987/0.8239, allocations: 0.8839 MB / 0.9064 GB, free: 6.195 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8239, allocations: 0 / 0.9064 GB, free: 6.195 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009783/0.8249, allocations: 311.7 kB / 0.9067 GB, free: 5.891 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.006991/0.8319, allocations: 3.295 MB / 0.9099 GB, free: 2.699 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003761/0.8356, allocations: 1.312 MB / 0.9112 GB, free: 1.387 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/0.8357, allocations: 8 kB / 0.9112 GB, free: 1.379 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.8374, allocations: 0.656 MB / 0.9119 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.8405, allocations: 0.6284 MB / 0.9125 GB, free: 104 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.8605, allocations: 11.12 MB / 0.9233 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/0.8613, allocations: 1.171 MB / 0.9245 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001275/0.8625, allocations: 350.2 kB / 0.9248 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/0.8633, allocations: 499.2 kB / 0.9253 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of SimCode: time 6.42e-07/0.8633, allocations: 0 / 0.9253 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06772/0.931, allocations: 35.55 MB / 0.96 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.43, allocations: 14.64 kB / 0.96 GB, free: 15.32 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)