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.0079/0.0079, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001276/0.001276, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9506/0.9506, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.5852 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4064, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2051/0.6116, allocations: 193.8 MB / 0.8535 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008809/0.6205, allocations: 5.143 MB / 0.8585 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.622, allocations: 47.69 kB / 0.8585 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.6242, allocations: 0.8276 MB / 0.8593 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006764/0.631, allocations: 2.684 MB / 0.862 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.6341, allocations: 1.11 MB / 0.8631 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004417/0.6385, allocations: 2.61 MB / 0.8656 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.6402, allocations: 0.8961 MB / 0.8665 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.6428, allocations: 1.121 MB / 0.8676 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4183/1.061, allocations: 0.9548 MB / 0.8685 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003725/1.061, allocations: 79.97 kB / 0.8686 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/1.065, allocations: 1.796 MB / 0.8703 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006112/1.066, allocations: 444.4 kB / 0.8708 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/1.067, allocations: 0.6441 MB / 0.8714 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004294/1.071, allocations: 2.197 MB / 0.8735 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.071, allocations: 0.875 kB / 0.8735 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/1.071, allocations: 0.8125 kB / 0.8735 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.797e-05/1.071, allocations: 0 / 0.8735 GB, free: 5.547 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.005504/1.077, allocations: 1.981 MB / 0.8755 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.077, allocations: 10 kB / 0.8755 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/1.077, allocations: 139.6 kB / 0.8756 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/1.082, allocations: 0.7191 MB / 0.8763 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/1.084, allocations: 0.9537 MB / 0.8772 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/1.084, allocations: 71.69 kB / 0.8773 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/1.084, allocations: 89.48 kB / 0.8774 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/1.088, allocations: 1.468 MB / 0.8788 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/1.088, allocations: 4.906 kB / 0.8788 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.088, allocations: 32.78 kB / 0.8789 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.21e-05/1.088, allocations: 46.78 kB / 0.8789 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004432/1.092, allocations: 1.56 MB / 0.8804 GB, free: 3.84 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.007422/1.1, allocations: 5.019 MB / 0.8853 GB, free: 17.36 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/1.103, allocations: 1.189 MB / 0.8865 GB, free: 17.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/1.105, allocations: 0.6612 MB / 0.8871 GB, free: 17.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.106, allocations: 0.9406 MB / 0.8881 GB, free: 16.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002025/1.109, allocations: 0.7258 MB / 0.8888 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.847e-06/1.109, allocations: 2.156 kB / 0.8888 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.006505/1.115, allocations: 1.96 MB / 0.8907 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.115, allocations: 65.55 kB / 0.8907 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/1.117, allocations: 1.266 MB / 0.892 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/1.118, allocations: 42.33 kB / 0.892 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/1.118, allocations: 0.58 MB / 0.8926 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/1.118, allocations: 296.7 kB / 0.8929 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/1.119, allocations: 183.5 kB / 0.893 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.119, allocations: 345.2 kB / 0.8934 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/1.121, allocations: 0.5445 MB / 0.8939 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/1.123, allocations: 0.8222 MB / 0.8947 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/1.126, allocations: 1.336 MB / 0.896 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.126, allocations: 2.312 kB / 0.896 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004308/1.131, allocations: 1.534 MB / 0.8975 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.131, allocations: 7.094 kB / 0.8975 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/1.131, allocations: 12.09 kB / 0.8975 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/1.131, allocations: 10.56 kB / 0.8975 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.132, allocations: 296.6 kB / 0.8978 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/1.132, allocations: 15.97 kB / 0.8978 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.134, allocations: 202.7 kB / 0.898 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.134, allocations: 54.7 kB / 0.8981 GB, free: 14.55 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.0007224/1.135, allocations: 336 kB / 0.8984 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/1.135, allocations: 143 kB / 0.8985 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/1.139, allocations: 1.444 MB / 0.9 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.139, allocations: 10.28 kB / 0.9 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.139, allocations: 0 / 0.9 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.139, allocations: 13.36 kB / 0.9 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006435/1.146, allocations: 2.872 MB / 0.9028 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.146, allocations: 4.562 kB / 0.9028 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.147, allocations: 228.9 kB / 0.903 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/1.147, allocations: 8.375 kB / 0.903 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-05/1.147, allocations: 29.55 kB / 0.903 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.147, allocations: 7.406 kB / 0.903 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.147, allocations: 9.25 kB / 0.9031 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/1.153, allocations: 2.312 MB / 0.9053 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/1.154, allocations: 307.3 kB / 0.9056 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/1.154, allocations: 23.44 kB / 0.9056 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.155, allocations: 112.5 kB / 0.9057 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.156, allocations: 64.52 kB / 0.9058 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/1.156, allocations: 36.73 kB / 0.9058 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001176/1.157, allocations: 0.8793 MB / 0.9067 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.21e-07/1.157, allocations: 0 / 0.9067 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001323/1.158, allocations: 317.2 kB / 0.907 GB, free: 13.07 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.006731/1.165, allocations: 3.299 MB / 0.9102 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003693/1.169, allocations: 1.313 MB / 0.9115 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.169, allocations: 3.094 kB / 0.9115 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.17, allocations: 0.6582 MB / 0.9121 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/1.174, allocations: 0.6258 MB / 0.9128 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.196, allocations: 11.16 MB / 0.9237 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008795/1.197, allocations: 1.173 MB / 0.9248 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001394/1.198, allocations: 339 kB / 0.9251 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008141/1.199, allocations: 0.4886 MB / 0.9256 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of SimCode: time 9.82e-07/1.199, allocations: 1.203 kB / 0.9256 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0671/1.266, allocations: 34.99 MB / 0.9598 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.86, allocations: 11.09 kB / 0.9598 GB, free: 15.03 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)