Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_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.000996/0.0009959, allocations: 92.95 kB / 16.02 MB, free: 84 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.00108/0.00108, allocations: 178.5 kB / 16.91 MB, free: 6.645 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6845/0.6845, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 12 kB / 495.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4485/0.5953, allocations: 189 MB / 0.7446 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009497/0.6049, allocations: 5.123 MB / 0.7496 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.6062, allocations: 47.69 kB / 0.7496 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.6081, allocations: 0.7155 MB / 0.7503 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006479/0.6146, allocations: 2.444 MB / 0.7527 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.6176, allocations: 1.009 MB / 0.7537 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004572/0.6222, allocations: 3.537 MB / 0.7572 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.6241, allocations: 0.8033 MB / 0.758 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.6265, allocations: 0.9802 MB / 0.7589 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.6285, allocations: 0.9767 MB / 0.7599 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003108/0.6288, allocations: 44 kB / 0.7599 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.633, allocations: 2.069 MB / 0.7619 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.6337, allocations: 402.6 kB / 0.7623 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.635, allocations: 0.6387 MB / 0.7629 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004716/0.6397, allocations: 2.211 MB / 0.7651 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6397, allocations: 0 / 0.7651 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6397, allocations: 0 / 0.7651 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.581e-05/0.6398, allocations: 0 / 0.7651 GB, free: 4.523 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.005342/0.6452, allocations: 1.67 MB / 0.7667 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.6452, allocations: 8.031 kB / 0.7667 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002835/0.6455, allocations: 143.4 kB / 0.7669 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.6502, allocations: 0.7474 MB / 0.7676 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6519, allocations: 0.8902 MB / 0.7685 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/0.652, allocations: 73.98 kB / 0.7685 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.6522, allocations: 80 kB / 0.7686 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003609/0.6559, allocations: 1.484 MB / 0.7701 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.6559, allocations: 0 / 0.7701 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.656, allocations: 32 kB / 0.7701 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/0.6561, allocations: 49.98 kB / 0.7701 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004478/0.6606, allocations: 1.588 MB / 0.7717 GB, free: 13.59 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.007595/0.6682, allocations: 5.054 MB / 0.7766 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.6718, allocations: 1.247 MB / 0.7778 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.6736, allocations: 0.6703 MB / 0.7785 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.675, allocations: 0.9566 MB / 0.7794 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/0.677, allocations: 0.7419 MB / 0.7802 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/0.677, allocations: 0 / 0.7802 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.0062/0.6832, allocations: 1.983 MB / 0.7821 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6833, allocations: 60.06 kB / 0.7822 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.685, allocations: 1.279 MB / 0.7834 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.6851, allocations: 45.7 kB / 0.7834 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.6856, allocations: 0.5639 MB / 0.784 GB, free: 488 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.6859, allocations: 284 kB / 0.7843 GB, free: 200 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.6861, allocations: 77.67 kB / 0.7843 GB, free: 116 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6862, allocations: 345.9 kB / 0.7847 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.688, allocations: 0.5678 MB / 0.7852 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.69, allocations: 0.8287 MB / 0.786 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.6936, allocations: 1.363 MB / 0.7874 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6937, allocations: 0 / 0.7874 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004294/0.698, allocations: 1.535 MB / 0.7889 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.698, allocations: 15.92 kB / 0.7889 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.698, allocations: 8.094 kB / 0.7889 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.6981, allocations: 19.94 kB / 0.7889 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.6995, allocations: 295.6 kB / 0.7892 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.6996, allocations: 19.92 kB / 0.7892 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.7011, allocations: 218.7 kB / 0.7894 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.7013, allocations: 51.91 kB / 0.7895 GB, free: 10.65 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0006402/0.7019, allocations: 339.7 kB / 0.7898 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.7022, allocations: 138.2 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.7066, allocations: 1.464 MB / 0.7914 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.7066, allocations: 8 kB / 0.7914 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.7066, allocations: 0 / 0.7914 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.7066, allocations: 7.984 kB / 0.7914 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.7131, allocations: 2.877 MB / 0.7942 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.7131, allocations: 4 kB / 0.7942 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.7145, allocations: 236.2 kB / 0.7944 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.7145, allocations: 8 kB / 0.7944 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.7146, allocations: 27.97 kB / 0.7944 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.7146, allocations: 11.94 kB / 0.7945 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/0.7146, allocations: 7.984 kB / 0.7945 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005964/0.7206, allocations: 2.346 MB / 0.7968 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.7213, allocations: 315.1 kB / 0.7971 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.7216, allocations: 20 kB / 0.7971 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.723, allocations: 139.9 kB / 0.7972 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.7231, allocations: 64.36 kB / 0.7973 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.7232, allocations: 31.98 kB / 0.7973 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001269/0.7245, allocations: 0.8801 MB / 0.7982 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7245, allocations: 0 / 0.7982 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001191/0.7257, allocations: 315.7 kB / 0.7985 GB, free: 1.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (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 (82): * Single equations (assignments): 76 * 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.007391/0.7331, allocations: 3.323 MB / 0.8017 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003963/0.7371, allocations: 1.335 MB / 0.803 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.7371, allocations: 0 / 0.803 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.739, allocations: 0.6716 MB / 0.8037 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/0.7433, allocations: 0.5894 MB / 0.8042 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/0.7676, allocations: 12.45 MB / 0.8164 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/0.7685, allocations: 1.175 MB / 0.8175 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001658/0.7702, allocations: 350.2 kB / 0.8179 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008468/0.771, allocations: 499.2 kB / 0.8184 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of SimCode: time 3.226e-06/0.7711, allocations: 4 kB / 0.8184 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3124/1.083, allocations: 33.02 MB / 0.8506 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/1.084, allocations: 254.6 kB / 0.8509 GB, free: 224.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/4.028, allocations: 0 / 0.8509 GB, free: 224.3 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)