Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.005169/0.005169, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001278/0.001278, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9953/0.9953, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4598, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2315/0.6914, allocations: 193.8 MB / 0.8542 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009966/0.7014, allocations: 5.149 MB / 0.8592 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.7031, allocations: 47.69 kB / 0.8592 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.7056, allocations: 0.8159 MB / 0.86 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006856/0.7124, allocations: 2.598 MB / 0.8626 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.7156, allocations: 1.113 MB / 0.8637 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004223/0.7199, allocations: 2.683 MB / 0.8663 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.7217, allocations: 0.9483 MB / 0.8672 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.428/1.15, allocations: 1.098 MB / 0.8683 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/1.152, allocations: 0.9848 MB / 0.8692 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005145/1.153, allocations: 86.41 kB / 0.8693 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005028/1.158, allocations: 1.79 MB / 0.8711 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/1.159, allocations: 449.1 kB / 0.8715 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001715/1.161, allocations: 0.667 MB / 0.8722 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006134/1.167, allocations: 2.233 MB / 0.8743 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.167, allocations: 1.781 kB / 0.8743 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.226e-06/1.167, allocations: 0 / 0.8743 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.485e-05/1.167, allocations: 1.203 kB / 0.8743 GB, free: 4.879 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006862/1.174, allocations: 2.008 MB / 0.8763 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.174, allocations: 9.406 kB / 0.8763 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002293/1.174, allocations: 144.6 kB / 0.8764 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006073/1.18, allocations: 0.9044 MB / 0.8773 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/1.183, allocations: 0.9795 MB / 0.8783 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.183, allocations: 71 kB / 0.8784 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/1.183, allocations: 91.06 kB / 0.8784 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/1.187, allocations: 1.579 MB / 0.88 GB, free: 19.24 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/1.188, allocations: 2.781 kB / 0.88 GB, free: 19.24 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.188, allocations: 40.58 kB / 0.88 GB, free: 19.24 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.528e-05/1.188, allocations: 44.7 kB / 0.8801 GB, free: 19.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005798/1.194, allocations: 1.85 MB / 0.8819 GB, free: 19.23 MB / 0.7012 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.009711/1.203, allocations: 4.744 MB / 0.8865 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005208/1.209, allocations: 1.559 MB / 0.888 GB, free: 17.35 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/1.211, allocations: 0.8549 MB / 0.8889 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/1.213, allocations: 0.9459 MB / 0.8898 GB, free: 16.4 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002745/1.215, allocations: 0.9108 MB / 0.8907 GB, free: 16.35 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 4.218e-06/1.215, allocations: 0 / 0.8907 GB, free: 16.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.008769/1.224, allocations: 2.462 MB / 0.8931 GB, free: 16.24 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/1.224, allocations: 65.91 kB / 0.8931 GB, free: 16.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/1.227, allocations: 1.196 MB / 0.8943 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002588/1.227, allocations: 46.73 kB / 0.8944 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/1.228, allocations: 0.5483 MB / 0.8949 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/1.228, allocations: 345.7 kB / 0.8952 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/1.228, allocations: 185.1 kB / 0.8954 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.229, allocations: 342.6 kB / 0.8957 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/1.231, allocations: 0.7009 MB / 0.8964 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/1.233, allocations: 0.9103 MB / 0.8973 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/1.238, allocations: 1.553 MB / 0.8988 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.238, allocations: 8.031 kB / 0.8988 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005287/1.243, allocations: 1.786 MB / 0.9006 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.243, allocations: 6.844 kB / 0.9006 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.243, allocations: 3.406 kB / 0.9006 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.243, allocations: 10.06 kB / 0.9006 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.245, allocations: 340.5 kB / 0.9009 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/1.245, allocations: 13.67 kB / 0.9009 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.247, allocations: 238 kB / 0.9012 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.247, allocations: 48.5 kB / 0.9012 GB, free: 14.69 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007199/1.248, allocations: 343.3 kB / 0.9015 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/1.248, allocations: 139 kB / 0.9017 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/1.254, allocations: 1.801 MB / 0.9034 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.254, allocations: 12.56 kB / 0.9034 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.254, allocations: 0.6562 kB / 0.9034 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/1.254, allocations: 2.531 kB / 0.9034 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00827/1.262, allocations: 3.343 MB / 0.9067 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.262, allocations: 5.281 kB / 0.9067 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.264, allocations: 286.9 kB / 0.907 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/1.264, allocations: 7.703 kB / 0.907 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/1.264, allocations: 32.09 kB / 0.907 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.66e-05/1.264, allocations: 17.84 kB / 0.907 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.264, allocations: 8.594 kB / 0.907 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008524/1.273, allocations: 2.856 MB / 0.9098 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.274, allocations: 322.2 kB / 0.9101 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/1.275, allocations: 27.59 kB / 0.9102 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.276, allocations: 157.3 kB / 0.9103 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.276, allocations: 70.78 kB / 0.9104 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.277, allocations: 41.58 kB / 0.9104 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001151/1.278, allocations: 0.8329 MB / 0.9112 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/1.278, allocations: 1.094 kB / 0.9112 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001489/1.279, allocations: 340.5 kB / 0.9116 GB, free: 13.06 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.009865/1.289, allocations: 3.831 MB / 0.9153 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005708/1.295, allocations: 1.642 MB / 0.9169 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.295, allocations: 0 / 0.9169 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002601/1.298, allocations: 0.8373 MB / 0.9177 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.301, allocations: 0.6152 MB / 0.9183 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/1.332, allocations: 12.09 MB / 0.9301 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008668/1.333, allocations: 1.184 MB / 0.9313 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001677/1.335, allocations: 364 kB / 0.9316 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008562/1.336, allocations: 0.502 MB / 0.9321 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of SimCode: time 9.42e-07/1.336, allocations: 0 / 0.9321 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07996/1.416, allocations: 35.67 MB / 0.967 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/12.16, allocations: 10.81 kB / 0.967 GB, free: 8.648 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)