Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001487/0.001487, allocations: 100.3 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.001863/0.001862, allocations: 177.3 kB / 15.94 MB, free: 228 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.296/2.296, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.638/1.638, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005045, allocations: 8.969 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.288, allocations: 82.3 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7335/1.022, allocations: 160.8 MB / 0.7443 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01544/1.037, allocations: 5.028 MB / 0.7492 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/1.04, allocations: 39.69 kB / 0.7492 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003762/1.044, allocations: 0.7746 MB / 0.75 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008536/1.052, allocations: 1.785 MB / 0.7517 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/1.056, allocations: 1.172 MB / 0.7528 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003623/1.06, allocations: 1.639 MB / 0.7544 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/1.062, allocations: 0.7782 MB / 0.7552 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/1.064, allocations: 0.954 MB / 0.7561 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/1.065, allocations: 0.6732 MB / 0.7568 GB, free: 14.87 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/1.065, allocations: 44 kB / 0.7568 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/1.068, allocations: 0.7449 MB / 0.7576 GB, free: 14.08 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0006068/1.069, allocations: 370.8 kB / 0.7579 GB, free: 13.72 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0005448/1.069, allocations: 271.4 kB / 0.7582 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/1.072, allocations: 1.214 MB / 0.7594 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.072, allocations: 3.938 kB / 0.7594 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.824e-06/1.072, allocations: 0 / 0.7594 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.573e-05/1.072, allocations: 0 / 0.7594 GB, free: 12.23 MB / 0.5763 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.007503/1.079, allocations: 1.66 MB / 0.761 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 7.892e-05/1.08, allocations: 8.031 kB / 0.761 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004287/1.08, allocations: 139.5 kB / 0.7611 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006129/1.086, allocations: 0.7083 MB / 0.7618 GB, free: 9.656 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/1.089, allocations: 0.8328 MB / 0.7626 GB, free: 8.766 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/1.089, allocations: 69.98 kB / 0.7627 GB, free: 8.699 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.089, allocations: 84 kB / 0.7628 GB, free: 8.617 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004986/1.094, allocations: 1.47 MB / 0.7642 GB, free: 7.07 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/1.095, allocations: 4 kB / 0.7642 GB, free: 7.066 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/1.095, allocations: 47.97 kB / 0.7643 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/1.095, allocations: 49.97 kB / 0.7643 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006132/1.101, allocations: 1.538 MB / 0.7658 GB, free: 5.43 MB / 0.5763 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.01112/1.112, allocations: 5.145 MB / 0.7708 GB, free: 8 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005384/1.118, allocations: 1.312 MB / 0.7721 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/1.118, allocations: 165.7 kB / 0.7723 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002611/1.121, allocations: 0.7069 MB / 0.773 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 4.819e-06/1.121, allocations: 0 / 0.773 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01274/1.134, allocations: 1.917 MB / 0.7748 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.134, allocations: 56.06 kB / 0.7749 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/1.137, allocations: 1.231 MB / 0.7761 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002307/1.137, allocations: 45.7 kB / 0.7761 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00085/1.138, allocations: 0.5869 MB / 0.7767 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/1.138, allocations: 268.1 kB / 0.777 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/1.138, allocations: 20 kB / 0.777 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002698/1.139, allocations: 341.9 kB / 0.7773 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/1.141, allocations: 0.5484 MB / 0.7779 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.144, allocations: 0.8252 MB / 0.7787 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.146, allocations: 0.5925 MB / 0.7792 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.146, allocations: 7.984 kB / 0.7792 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006447/1.153, allocations: 1.502 MB / 0.7807 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/1.153, allocations: 8 kB / 0.7807 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/1.153, allocations: 8 kB / 0.7807 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.137e-05/1.153, allocations: 15.95 kB / 0.7807 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/1.155, allocations: 300.3 kB / 0.781 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.541e-05/1.155, allocations: 19.94 kB / 0.781 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.158, allocations: 229.8 kB / 0.7813 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/1.158, allocations: 48.08 kB / 0.7813 GB, free: 5.094 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.001057/1.159, allocations: 343.6 kB / 0.7816 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004593/1.16, allocations: 134.3 kB / 0.7818 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00681/1.166, allocations: 1.424 MB / 0.7832 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/1.167, allocations: 15.94 kB / 0.7832 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.167, allocations: 7.922 kB / 0.7832 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/1.167, allocations: 3.984 kB / 0.7832 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.177, allocations: 2.821 MB / 0.7859 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.177, allocations: 4 kB / 0.7859 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.179, allocations: 232.1 kB / 0.7862 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.812e-05/1.179, allocations: 8.188 kB / 0.7862 GB, free: 16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.179, allocations: 31.92 kB / 0.7862 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/1.179, allocations: 8 kB / 0.7862 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.179, allocations: 7.938 kB / 0.7862 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009255/1.189, allocations: 2.496 MB / 0.7887 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.19, allocations: 303.2 kB / 0.7889 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000557/1.19, allocations: 24 kB / 0.789 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.193, allocations: 135.9 kB / 0.7891 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/1.193, allocations: 71.88 kB / 0.7892 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.193, allocations: 31.98 kB / 0.7892 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002275/1.195, allocations: 0.8405 MB / 0.79 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.61e-07/1.195, allocations: 0 / 0.79 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00236/1.198, allocations: 319.6 kB / 0.7903 GB, free: 11.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (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 (80): * Single equations (assignments): 74 * 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.01208/1.21, allocations: 4.538 MB / 0.7948 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005507/1.215, allocations: 1.302 MB / 0.796 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.215, allocations: 0 / 0.796 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002716/1.218, allocations: 0.6482 MB / 0.7967 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/1.223, allocations: 0.5609 MB / 0.7972 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/1.253, allocations: 13.36 MB / 0.8103 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.255, allocations: 1.203 MB / 0.8114 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002869/1.258, allocations: 341.9 kB / 0.8118 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.259, allocations: 0.4953 MB / 0.8122 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of SimCode: time 1.983e-06/1.259, allocations: 0 / 0.8122 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.375, allocations: 32.13 MB / 0.8436 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003653/1.375, allocations: 226.4 kB / 0.8438 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.943/5.318, allocations: 0 / 0.8438 GB, free: 4.738 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: