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.005819/0.005819, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001269/0.001269, allocations: 197.1 kB / 16.67 MB, free: 5.977 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9364/0.9364, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.89 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4413, allocations: 80.91 MB / 0.6642 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2107/0.6521, allocations: 193.8 MB / 0.8535 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009871/0.662, allocations: 5.142 MB / 0.8585 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.6641, allocations: 47.69 kB / 0.8585 GB, free: 10 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.6669, allocations: 0.8081 MB / 0.8593 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007893/0.6748, allocations: 2.609 MB / 0.8619 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.6782, allocations: 1.106 MB / 0.863 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003784/0.682, allocations: 2.602 MB / 0.8655 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.6837, allocations: 0.8883 MB / 0.8664 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.6862, allocations: 1.105 MB / 0.8674 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4583/1.145, allocations: 0.9647 MB / 0.8684 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005461/1.145, allocations: 80.59 kB / 0.8685 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004561/1.15, allocations: 1.779 MB / 0.8702 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008349/1.151, allocations: 437.4 kB / 0.8706 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/1.152, allocations: 0.6512 MB / 0.8713 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005605/1.158, allocations: 2.187 MB / 0.8734 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.158, allocations: 4.5 kB / 0.8734 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/1.158, allocations: 1.203 kB / 0.8734 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.963e-05/1.158, allocations: 1.5 kB / 0.8734 GB, free: 5.691 MB / 0.6856 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.006854/1.165, allocations: 1.92 MB / 0.8753 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.165, allocations: 14.16 kB / 0.8753 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/1.165, allocations: 144.3 kB / 0.8754 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/1.17, allocations: 0.7033 MB / 0.8761 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/1.172, allocations: 0.9544 MB / 0.877 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.529e-05/1.172, allocations: 73.73 kB / 0.8771 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/1.173, allocations: 86.12 kB / 0.8772 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/1.177, allocations: 1.467 MB / 0.8786 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.177, allocations: 2.25 kB / 0.8786 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.177, allocations: 32.78 kB / 0.8787 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.769e-05/1.177, allocations: 50.8 kB / 0.8787 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004587/1.181, allocations: 1.562 MB / 0.8802 GB, free: 4.055 MB / 0.6856 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.008105/1.19, allocations: 5.001 MB / 0.8851 GB, free: 17.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/1.193, allocations: 1.186 MB / 0.8863 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/1.195, allocations: 0.6631 MB / 0.8869 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.196, allocations: 0.9384 MB / 0.8878 GB, free: 16.6 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002145/1.199, allocations: 0.7257 MB / 0.8886 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 4.449e-06/1.199, allocations: 0 / 0.8886 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.006511/1.205, allocations: 1.954 MB / 0.8905 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.205, allocations: 60.81 kB / 0.8905 GB, free: 16.37 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.207, allocations: 1.265 MB / 0.8918 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002415/1.207, allocations: 50.05 kB / 0.8918 GB, free: 16.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/1.208, allocations: 0.5683 MB / 0.8924 GB, free: 16 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/1.208, allocations: 285.6 kB / 0.8926 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/1.209, allocations: 182.3 kB / 0.8928 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.209, allocations: 349.5 kB / 0.8931 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/1.21, allocations: 0.5441 MB / 0.8937 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/1.212, allocations: 0.8215 MB / 0.8945 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/1.216, allocations: 1.339 MB / 0.8958 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/1.216, allocations: 2.188 kB / 0.8958 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004312/1.22, allocations: 1.517 MB / 0.8973 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.22, allocations: 7.344 kB / 0.8973 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.22, allocations: 7.125 kB / 0.8973 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/1.22, allocations: 13.31 kB / 0.8973 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.222, allocations: 294.5 kB / 0.8976 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/1.222, allocations: 21.36 kB / 0.8976 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/1.224, allocations: 203.3 kB / 0.8978 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/1.224, allocations: 51.23 kB / 0.8978 GB, free: 14.8 MB / 0.7012 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.0007745/1.225, allocations: 335.2 kB / 0.8981 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/1.225, allocations: 134.9 kB / 0.8983 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/1.229, allocations: 1.452 MB / 0.8997 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/1.229, allocations: 14.05 kB / 0.8997 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.229, allocations: 0 / 0.8997 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.229, allocations: 6.562 kB / 0.8997 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006749/1.236, allocations: 2.872 MB / 0.9025 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.236, allocations: 4.719 kB / 0.9025 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.237, allocations: 230.6 kB / 0.9027 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/1.237, allocations: 8.344 kB / 0.9028 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/1.237, allocations: 29.02 kB / 0.9028 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.237, allocations: 8.125 kB / 0.9028 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.237, allocations: 8.531 kB / 0.9028 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005169/1.242, allocations: 2.307 MB / 0.905 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008162/1.243, allocations: 305.7 kB / 0.9053 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/1.243, allocations: 20.66 kB / 0.9054 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.245, allocations: 113.6 kB / 0.9055 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.245, allocations: 64.81 kB / 0.9055 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/1.245, allocations: 36.23 kB / 0.9056 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001149/1.246, allocations: 0.8739 MB / 0.9064 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.71e-07/1.246, allocations: 0 / 0.9064 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001461/1.248, allocations: 321.4 kB / 0.9067 GB, free: 13.33 MB / 0.7012 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.006717/1.254, allocations: 3.282 MB / 0.9099 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003459/1.258, allocations: 1.315 MB / 0.9112 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/1.258, allocations: 4.719 kB / 0.9112 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/1.26, allocations: 0.6593 MB / 0.9119 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.262, allocations: 0.6265 MB / 0.9125 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/1.282, allocations: 11.1 MB / 0.9233 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/1.283, allocations: 1.176 MB / 0.9245 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001497/1.285, allocations: 349.1 kB / 0.9248 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/1.285, allocations: 496.6 kB / 0.9253 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of SimCode: time 9.72e-07/1.285, allocations: 0 / 0.9253 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07196/1.357, allocations: 35.55 MB / 0.96 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/12.11, allocations: 17.61 kB / 0.96 GB, free: 14.96 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)