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.001349/0.001349, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001574/0.001574, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.524/2.524, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.666/1.666, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.000519, allocations: 8.875 kB / 0.5069 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3014, allocations: 82.32 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.8904/1.192, allocations: 160.7 MB / 0.7443 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01685/1.209, allocations: 5.031 MB / 0.7492 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/1.212, allocations: 39.69 kB / 0.7492 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004069/1.216, allocations: 0.7783 MB / 0.75 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01016/1.226, allocations: 1.777 MB / 0.7517 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006594/1.233, allocations: 1.174 MB / 0.7529 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005755/1.239, allocations: 1.624 MB / 0.7544 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/1.241, allocations: 0.7859 MB / 0.7552 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/1.245, allocations: 0.9462 MB / 0.7561 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/1.247, allocations: 0.6888 MB / 0.7568 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/1.247, allocations: 48 kB / 0.7568 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/1.251, allocations: 0.9321 MB / 0.7578 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008652/1.252, allocations: 374.8 kB / 0.7581 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000922/1.253, allocations: 273 kB / 0.7584 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003693/1.257, allocations: 1.304 MB / 0.7596 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.257, allocations: 0 / 0.7596 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.537e-06/1.257, allocations: 0 / 0.7596 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.711e-05/1.257, allocations: 0 / 0.7596 GB, free: 11.83 MB / 0.5762 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.007671/1.265, allocations: 1.676 MB / 0.7613 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.263e-05/1.265, allocations: 8.031 kB / 0.7613 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000385/1.265, allocations: 139.5 kB / 0.7614 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/1.27, allocations: 0.7551 MB / 0.7622 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/1.272, allocations: 0.8367 MB / 0.763 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/1.272, allocations: 65.94 kB / 0.763 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/1.273, allocations: 91.94 kB / 0.7631 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/1.277, allocations: 1.468 MB / 0.7646 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/1.277, allocations: 7.938 kB / 0.7646 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/1.277, allocations: 32 kB / 0.7646 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.774e-05/1.277, allocations: 49.97 kB / 0.7647 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006538/1.284, allocations: 1.58 MB / 0.7662 GB, free: 4.953 MB / 0.5762 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.01068/1.295, allocations: 4.661 MB / 0.7707 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005061/1.3, allocations: 1.236 MB / 0.772 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/1.3, allocations: 181.6 kB / 0.7721 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002996/1.303, allocations: 0.7303 MB / 0.7728 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 5.33e-06/1.303, allocations: 0 / 0.7728 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.009436/1.313, allocations: 2.011 MB / 0.7748 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/1.313, allocations: 64.02 kB / 0.7749 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/1.316, allocations: 1.259 MB / 0.7761 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/1.316, allocations: 41.7 kB / 0.7761 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/1.316, allocations: 0.5755 MB / 0.7767 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/1.317, allocations: 276.1 kB / 0.777 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.544e-05/1.317, allocations: 16 kB / 0.777 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.317, allocations: 341.9 kB / 0.7773 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.319, allocations: 0.564 MB / 0.7778 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/1.322, allocations: 0.8034 MB / 0.7786 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/1.325, allocations: 0.6041 MB / 0.7792 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/1.325, allocations: 4 kB / 0.7792 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005086/1.33, allocations: 1.526 MB / 0.7807 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/1.33, allocations: 8 kB / 0.7807 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.33, allocations: 8 kB / 0.7807 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/1.33, allocations: 8.094 kB / 0.7807 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/1.332, allocations: 308 kB / 0.781 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.812e-05/1.332, allocations: 17.73 kB / 0.7811 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.334, allocations: 226.7 kB / 0.7813 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/1.335, allocations: 47.97 kB / 0.7813 GB, free: 5.043 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009617/1.336, allocations: 330.5 kB / 0.7816 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/1.336, allocations: 146.3 kB / 0.7818 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006413/1.343, allocations: 1.471 MB / 0.7832 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.343, allocations: 11.94 kB / 0.7832 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.343, allocations: 4 kB / 0.7832 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/1.343, allocations: 3.984 kB / 0.7832 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.354, allocations: 2.899 MB / 0.7861 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.354, allocations: 7.125 kB / 0.7861 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.357, allocations: 232.2 kB / 0.7863 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.524e-05/1.357, allocations: 8 kB / 0.7863 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002065/1.357, allocations: 31.97 kB / 0.7863 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.692e-05/1.357, allocations: 15.89 kB / 0.7863 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/1.357, allocations: 4 kB / 0.7863 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.368, allocations: 2.577 MB / 0.7889 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/1.37, allocations: 315.1 kB / 0.7892 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006523/1.371, allocations: 20 kB / 0.7892 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.373, allocations: 135.9 kB / 0.7893 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/1.373, allocations: 68.38 kB / 0.7894 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.373, allocations: 31.98 kB / 0.7894 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002515/1.376, allocations: 0.8645 MB / 0.7902 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.51e-07/1.376, allocations: 0 / 0.7902 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002686/1.379, allocations: 315.7 kB / 0.7905 GB, free: 11.31 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/1.392, allocations: 4.697 MB / 0.7951 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006658/1.399, allocations: 1.323 MB / 0.7964 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.83e-05/1.399, allocations: 0 / 0.7964 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003958/1.403, allocations: 0.6682 MB / 0.7971 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006577/1.41, allocations: 0.5893 MB / 0.7977 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/1.446, allocations: 12.59 MB / 0.8099 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.448, allocations: 1.199 MB / 0.8111 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003022/1.451, allocations: 366.1 kB / 0.8115 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/1.452, allocations: 491.2 kB / 0.8119 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of SimCode: time 3.176e-06/1.452, allocations: 4 kB / 0.8119 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.569, allocations: 33.17 MB / 0.8443 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003672/1.569, allocations: 228.3 kB / 0.8446 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.673/6.243, allocations: 0 / 0.8446 GB, free: 3.984 MB / 0.6544 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/linux/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) Environment - environmentSimulation: