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.005176/0.005176, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001337/0.001337, allocations: 198.7 kB / 16.68 MB, free: 5.977 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 75.83 kB / 0.5858 GB, free: 3.129 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3705, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2332/0.6037, allocations: 193.8 MB / 0.8542 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009353/0.6131, allocations: 5.139 MB / 0.8592 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009705/0.6141, allocations: 51.62 kB / 0.8593 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.616, allocations: 0.812 MB / 0.86 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.6223, allocations: 2.594 MB / 0.8626 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.6251, allocations: 1.108 MB / 0.8637 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.6287, allocations: 2.609 MB / 0.8662 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.6302, allocations: 0.9 MB / 0.8671 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.6323, allocations: 1.086 MB / 0.8681 GB, free: 4 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3662/0.9985, allocations: 0.9429 MB / 0.8691 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.9988, allocations: 78.44 kB / 0.8691 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/1.002, allocations: 1.782 MB / 0.8709 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006328/1.003, allocations: 430.1 kB / 0.8713 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009569/1.004, allocations: 0.6449 MB / 0.8719 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/1.008, allocations: 2.179 MB / 0.8741 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.008, allocations: 0.8438 kB / 0.8741 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.834e-06/1.008, allocations: 1.203 kB / 0.8741 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.177e-05/1.008, allocations: 1.031 kB / 0.8741 GB, free: 5.477 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.005301/1.013, allocations: 1.981 MB / 0.876 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.014, allocations: 10.88 kB / 0.876 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/1.014, allocations: 141.3 kB / 0.8761 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/1.018, allocations: 0.6668 MB / 0.8768 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.02, allocations: 0.9567 MB / 0.8777 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.744e-05/1.02, allocations: 66.8 kB / 0.8778 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/1.02, allocations: 92.2 kB / 0.8779 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/1.024, allocations: 1.469 MB / 0.8793 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.024, allocations: 4.812 kB / 0.8793 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.024, allocations: 39.06 kB / 0.8793 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-05/1.024, allocations: 52.41 kB / 0.8794 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/1.028, allocations: 1.521 MB / 0.8809 GB, free: 3.73 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.007884/1.036, allocations: 5.475 MB / 0.8862 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/1.04, allocations: 1.279 MB / 0.8875 GB, free: 16.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/1.042, allocations: 0.6548 MB / 0.8881 GB, free: 16.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.043, allocations: 0.5813 MB / 0.8887 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/1.045, allocations: 0.7173 MB / 0.8894 GB, free: 16.11 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/1.045, allocations: 2.484 kB / 0.8894 GB, free: 16.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.006081/1.051, allocations: 1.879 MB / 0.8912 GB, free: 16 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.051, allocations: 61.06 kB / 0.8913 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.053, allocations: 1.246 MB / 0.8925 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.053, allocations: 45.19 kB / 0.8925 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/1.053, allocations: 0.5811 MB / 0.8931 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/1.053, allocations: 290 kB / 0.8934 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/1.054, allocations: 183.5 kB / 0.8936 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.054, allocations: 340.6 kB / 0.8939 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/1.056, allocations: 0.5408 MB / 0.8944 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/1.058, allocations: 0.8181 MB / 0.8952 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/1.061, allocations: 1.327 MB / 0.8965 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.061, allocations: 3.641 kB / 0.8965 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004002/1.065, allocations: 1.509 MB / 0.898 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.065, allocations: 6.844 kB / 0.898 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.065, allocations: 9.438 kB / 0.898 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.065, allocations: 11 kB / 0.898 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.066, allocations: 299.9 kB / 0.8983 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.066, allocations: 16.88 kB / 0.8983 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/1.068, allocations: 201.3 kB / 0.8985 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/1.068, allocations: 51.02 kB / 0.8986 GB, free: 14.29 MB / 0.7012 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 ($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.0005535/1.069, allocations: 341.7 kB / 0.8989 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/1.069, allocations: 143 kB / 0.899 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/1.073, allocations: 1.41 MB / 0.9004 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.073, allocations: 8.5 kB / 0.9004 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.073, allocations: 0.625 kB / 0.9004 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.073, allocations: 2.953 kB / 0.9004 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/1.078, allocations: 2.807 MB / 0.9031 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.078, allocations: 8.531 kB / 0.9032 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.079, allocations: 225.5 kB / 0.9034 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/1.08, allocations: 8.062 kB / 0.9034 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/1.08, allocations: 25.77 kB / 0.9034 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.08, allocations: 11.41 kB / 0.9034 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.08, allocations: 5.125 kB / 0.9034 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/1.085, allocations: 2.253 MB / 0.9056 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/1.085, allocations: 307.2 kB / 0.9059 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/1.086, allocations: 20.84 kB / 0.9059 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.087, allocations: 111 kB / 0.906 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.087, allocations: 63.14 kB / 0.9061 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/1.087, allocations: 35.91 kB / 0.9061 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000903/1.088, allocations: 0.8578 MB / 0.907 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/1.088, allocations: 0 / 0.907 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009674/1.089, allocations: 319.1 kB / 0.9073 GB, free: 12.79 MB / 0.7012 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 (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 (80): * Single equations (assignments): 74 * 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.007245/1.096, allocations: 3.233 MB / 0.9104 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003563/1.1, allocations: 1.288 MB / 0.9117 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.1, allocations: 0 / 0.9117 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.101, allocations: 0.6409 MB / 0.9123 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.104, allocations: 0.5988 MB / 0.9129 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.123, allocations: 10.98 MB / 0.9236 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/1.124, allocations: 1.169 MB / 0.9248 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001294/1.126, allocations: 348 kB / 0.9251 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/1.126, allocations: 0.49 MB / 0.9256 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of SimCode: time 7.71e-07/1.126, allocations: 0 / 0.9256 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7215/1.848, allocations: 33.92 MB / 0.9587 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/12.45, allocations: 22.11 kB / 0.9587 GB, free: 15.73 MB / 0.7325 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/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)