Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_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.0008431/0.0008432, allocations: 98.5 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 183.4 kB / 16.92 MB, free: 6.691 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7258/0.7258, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003149, allocations: 8.688 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5049/0.6465, allocations: 189 MB / 0.7446 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009325/0.6558, allocations: 5.128 MB / 0.7496 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.6573, allocations: 39.69 kB / 0.7496 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.6593, allocations: 0.7155 MB / 0.7503 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006648/0.6659, allocations: 2.448 MB / 0.7527 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.6688, allocations: 1.006 MB / 0.7537 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004152/0.6729, allocations: 3.545 MB / 0.7572 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.6744, allocations: 0.8071 MB / 0.758 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.6765, allocations: 0.9764 MB / 0.7589 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.6781, allocations: 0.9689 MB / 0.7599 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.6783, allocations: 48 kB / 0.7599 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.6822, allocations: 2.061 MB / 0.7619 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.6828, allocations: 402.6 kB / 0.7623 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009854/0.6838, allocations: 0.6386 MB / 0.7629 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.6873, allocations: 2.184 MB / 0.7651 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6873, allocations: 0 / 0.7651 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6873, allocations: 0 / 0.7651 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-05/0.6874, allocations: 0 / 0.7651 GB, free: 4.645 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.005192/0.6926, allocations: 1.678 MB / 0.7667 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6927, allocations: 12.03 kB / 0.7667 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003009/0.693, allocations: 139.5 kB / 0.7668 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/0.6972, allocations: 0.6967 MB / 0.7675 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.6988, allocations: 0.8863 MB / 0.7684 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.6989, allocations: 73.98 kB / 0.7685 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.6991, allocations: 87.98 kB / 0.7685 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.7025, allocations: 1.482 MB / 0.77 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.7026, allocations: 4 kB / 0.77 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.7027, allocations: 35.94 kB / 0.77 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/0.7027, allocations: 49.98 kB / 0.7701 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.7071, allocations: 1.542 MB / 0.7716 GB, free: 13.77 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.008558/0.7157, allocations: 5.507 MB / 0.777 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003896/0.7196, allocations: 1.317 MB / 0.7783 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.7214, allocations: 0.6678 MB / 0.7789 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009283/0.7224, allocations: 0.6007 MB / 0.7795 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001948/0.7244, allocations: 0.7224 MB / 0.7802 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.787e-06/0.7244, allocations: 0 / 0.7802 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005955/0.7303, allocations: 1.913 MB / 0.7821 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.7304, allocations: 64 kB / 0.7821 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.7321, allocations: 1.235 MB / 0.7833 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.7322, allocations: 53.69 kB / 0.7834 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.7327, allocations: 0.5752 MB / 0.7839 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.7329, allocations: 280.1 kB / 0.7842 GB, free: 392 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.7331, allocations: 77.67 kB / 0.7843 GB, free: 308 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7333, allocations: 341.9 kB / 0.7846 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.735, allocations: 0.5484 MB / 0.7851 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.7369, allocations: 0.833 MB / 0.786 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/0.7404, allocations: 1.344 MB / 0.7873 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7404, allocations: 8 kB / 0.7873 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004217/0.7447, allocations: 1.518 MB / 0.7888 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7447, allocations: 8 kB / 0.7888 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.7447, allocations: 8 kB / 0.7888 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.7448, allocations: 12 kB / 0.7888 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7463, allocations: 303.7 kB / 0.7891 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/0.7463, allocations: 19.94 kB / 0.7891 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.7478, allocations: 222.8 kB / 0.7893 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.748, allocations: 47.98 kB / 0.7894 GB, free: 10.88 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 ($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.0005434/0.7485, allocations: 335.7 kB / 0.7897 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.7488, allocations: 138.2 kB / 0.7898 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.7529, allocations: 1.436 MB / 0.7912 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.753, allocations: 8 kB / 0.7912 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.753, allocations: 0 / 0.7912 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.753, allocations: 3.984 kB / 0.7912 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/0.7592, allocations: 2.834 MB / 0.794 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.7592, allocations: 4 kB / 0.794 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.7606, allocations: 227.8 kB / 0.7942 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.7606, allocations: 8 kB / 0.7942 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/0.7607, allocations: 27.97 kB / 0.7942 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.7607, allocations: 11.94 kB / 0.7943 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7607, allocations: 8 kB / 0.7943 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/0.7665, allocations: 2.283 MB / 0.7965 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.7671, allocations: 307.1 kB / 0.7968 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.7673, allocations: 24 kB / 0.7968 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7685, allocations: 143.7 kB / 0.7969 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.7687, allocations: 68.36 kB / 0.797 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.51e-05/0.7687, allocations: 31.97 kB / 0.797 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001084/0.7698, allocations: 0.8522 MB / 0.7979 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7698, allocations: 0 / 0.7979 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001016/0.7709, allocations: 315.8 kB / 0.7982 GB, free: 1.645 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 (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.007172/0.778, allocations: 3.268 MB / 0.8014 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003801/0.7819, allocations: 1.302 MB / 0.8026 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7819, allocations: 4.062 kB / 0.8026 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.7837, allocations: 0.6558 MB / 0.8033 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/0.7872, allocations: 0.5668 MB / 0.8038 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/0.8095, allocations: 12.24 MB / 0.8158 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009678/0.8105, allocations: 1.175 MB / 0.8169 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001432/0.8119, allocations: 341.9 kB / 0.8173 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007537/0.8127, allocations: 0.4914 MB / 0.8177 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.8127, allocations: 0 / 0.8177 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3499/1.163, allocations: 31.98 MB / 0.849 GB, free: 225.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/1.163, allocations: 267 kB / 0.8492 GB, free: 225.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/4.265, allocations: 0 / 0.8492 GB, free: 225.2 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)