Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_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.001252/0.001252, allocations: 100.4 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.001535/0.001535, 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.192/2.192, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.24/1.24, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005679/0.000568, allocations: 8 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7617, allocations: 81.58 MB / 0.583 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.3219/1.084, allocations: 160.8 MB / 0.74 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01574/1.099, allocations: 5.029 MB / 0.7449 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/1.102, allocations: 39.69 kB / 0.7449 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003805/1.106, allocations: 0.7859 MB / 0.7457 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009857/1.116, allocations: 1.78 MB / 0.7474 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006903/1.123, allocations: 1.172 MB / 0.7486 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00558/1.128, allocations: 1.634 MB / 0.7502 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/1.131, allocations: 0.7959 MB / 0.7509 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003962/1.135, allocations: 0.95 MB / 0.7519 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/1.137, allocations: 0.6772 MB / 0.7525 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004422/1.138, allocations: 44 kB / 0.7526 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/1.142, allocations: 0.7371 MB / 0.7533 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/1.144, allocations: 374.8 kB / 0.7536 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/1.145, allocations: 265 kB / 0.7539 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/1.149, allocations: 1.212 MB / 0.7551 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.149, allocations: 0 / 0.7551 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.365e-06/1.149, allocations: 4 kB / 0.7551 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001336/1.149, allocations: 0 / 0.7551 GB, free: 15.81 MB / 0.5919 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.01002/1.159, allocations: 1.652 MB / 0.7567 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001079/1.159, allocations: 8.031 kB / 0.7567 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008892/1.16, allocations: 147.5 kB / 0.7568 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/1.167, allocations: 0.7083 MB / 0.7575 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/1.172, allocations: 0.8405 MB / 0.7584 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/1.172, allocations: 62 kB / 0.7584 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/1.173, allocations: 88 kB / 0.7585 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006762/1.18, allocations: 1.474 MB / 0.7599 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/1.18, allocations: 3.938 kB / 0.7599 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/1.18, allocations: 39.98 kB / 0.76 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/1.18, allocations: 49.94 kB / 0.76 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0073/1.188, allocations: 1.538 MB / 0.7615 GB, free: 9.008 MB / 0.5919 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.01339/1.201, allocations: 5.135 MB / 0.7665 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006333/1.207, allocations: 1.315 MB / 0.7678 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/1.208, allocations: 161.7 kB / 0.768 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003431/1.212, allocations: 0.7185 MB / 0.7687 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 9.277e-06/1.212, allocations: 3.938 kB / 0.7687 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.009913/1.222, allocations: 1.909 MB / 0.7706 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.222, allocations: 60.06 kB / 0.7706 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/1.225, allocations: 1.231 MB / 0.7718 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/1.225, allocations: 45.7 kB / 0.7719 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009006/1.226, allocations: 0.583 MB / 0.7724 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/1.227, allocations: 276.1 kB / 0.7727 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.227, allocations: 23.94 kB / 0.7727 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002293/1.227, allocations: 341.9 kB / 0.773 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002789/1.23, allocations: 0.5445 MB / 0.7736 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004292/1.234, allocations: 0.8252 MB / 0.7744 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/1.237, allocations: 0.5887 MB / 0.7749 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/1.237, allocations: 4 kB / 0.775 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006803/1.244, allocations: 1.506 MB / 0.7764 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/1.244, allocations: 11.95 kB / 0.7764 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/1.244, allocations: 4.875 kB / 0.7764 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.61e-05/1.244, allocations: 16 kB / 0.7765 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/1.247, allocations: 307.5 kB / 0.7767 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/1.247, allocations: 15.94 kB / 0.7768 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/1.249, allocations: 226.7 kB / 0.777 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/1.25, allocations: 51.92 kB / 0.777 GB, free: 8.648 MB / 0.6075 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.001077/1.251, allocations: 343.7 kB / 0.7774 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/1.251, allocations: 134.3 kB / 0.7775 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006599/1.258, allocations: 1.42 MB / 0.7789 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/1.258, allocations: 8 kB / 0.7789 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.258, allocations: 4 kB / 0.7789 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.258, allocations: 7.984 kB / 0.7789 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.269, allocations: 2.815 MB / 0.7816 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.269, allocations: 4 kB / 0.7816 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.27, allocations: 240.1 kB / 0.7819 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/1.27, allocations: 8 kB / 0.7819 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.271, allocations: 27.97 kB / 0.7819 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-05/1.271, allocations: 11.94 kB / 0.7819 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-06/1.271, allocations: 4 kB / 0.7819 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008613/1.279, allocations: 2.492 MB / 0.7844 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.28, allocations: 299.2 kB / 0.7846 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/1.281, allocations: 23.98 kB / 0.7847 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.283, allocations: 135.9 kB / 0.7848 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.283, allocations: 64.38 kB / 0.7849 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.283, allocations: 35.98 kB / 0.7849 GB, free: 336 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00205/1.285, allocations: 0.8484 MB / 0.7857 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/1.285, allocations: 3.938 kB / 0.7857 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002045/1.287, allocations: 319.5 kB / 0.786 GB, free: 15.16 MB / 0.6231 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.01237/1.3, allocations: 4.541 MB / 0.7905 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007352/1.307, allocations: 1.298 MB / 0.7917 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/1.307, allocations: 0 / 0.7917 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.31, allocations: 0.6443 MB / 0.7924 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005503/1.316, allocations: 0.5586 MB / 0.7929 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/1.358, allocations: 13.37 MB / 0.806 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/1.36, allocations: 1.194 MB / 0.8071 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003655/1.364, allocations: 345.9 kB / 0.8075 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/1.366, allocations: 0.4953 MB / 0.8079 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of SimCode: time 1.903e-06/1.366, allocations: 0 / 0.8079 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5213/1.887, allocations: 32.12 MB / 0.8393 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/1.887, allocations: 217.8 kB / 0.8395 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.212/6.099, allocations: 4 kB / 0.8395 GB, free: 208.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: