Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 110.6 kB / 18.32 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 186 kB / 21.5 MB, free: 0.8164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 250.1 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8297/0.8297, allocations: 128.4 MB / 433.6 MB, free: 13.43 MB / 350.1 MB " [Timeout remaining time 179] 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.89 kB / 0.6004 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3672, allocations: 83.26 MB / 0.6817 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002574/0.3698, allocations: 1.89 MB / 0.6835 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.3731, allocations: 3.642 MB / 0.6871 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3732, allocations: 1.062 kB / 0.6871 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008254/0.374, allocations: 190.6 kB / 0.6873 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.3742, allocations: 73.81 kB / 0.6873 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.267e-05/0.3742, allocations: 28 kB / 0.6874 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.3746, allocations: 267.3 kB / 0.6876 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.3747, allocations: 20.88 kB / 0.6877 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3748, allocations: 77.16 kB / 0.6877 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.375, allocations: 82.11 kB / 0.6878 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.375, allocations: 7.156 kB / 0.6878 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.3751, allocations: 32.23 kB / 0.6878 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.3751, allocations: 55.12 kB / 0.6879 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.3752, allocations: 94.16 kB / 0.688 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3754, allocations: 190.6 kB / 0.6882 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3754, allocations: 0 / 0.6882 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3754, allocations: 0 / 0.6882 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3754, allocations: 1.5 kB / 0.6882 GB, free: 1.605 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007331/0.3762, allocations: 0.5324 MB / 0.6887 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3762, allocations: 14.73 kB / 0.6887 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.3762, allocations: 40.94 kB / 0.6887 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.3763, allocations: 22.05 kB / 0.6888 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.3765, allocations: 247.3 kB / 0.689 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3765, allocations: 14.3 kB / 0.689 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3766, allocations: 3.344 kB / 0.689 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.3769, allocations: 140.2 kB / 0.6891 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3769, allocations: 3.938 kB / 0.6891 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3769, allocations: 0 / 0.6891 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.3769, allocations: 15.17 kB / 0.6892 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.3773, allocations: 137.2 kB / 0.6893 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.3779, allocations: 464 kB / 0.6897 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3783, allocations: 165.1 kB / 0.6899 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.3785, allocations: 107.3 kB / 0.69 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3786, allocations: 6.219 kB / 0.69 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3786, allocations: 31.72 kB / 0.69 GB, free: 8 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.3786, allocations: 0 / 0.69 GB, free: 8 kB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0008472/0.3794, allocations: 293.2 kB / 0.6903 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3795, allocations: 56.94 kB / 0.6904 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3797, allocations: 250.1 kB / 0.6906 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3797, allocations: 30.83 kB / 0.6906 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.3798, allocations: 137.6 kB / 0.6908 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.3799, allocations: 45.17 kB / 0.6908 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.3799, allocations: 32.3 kB / 0.6908 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3801, allocations: 332.7 kB / 0.6912 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3803, allocations: 71.53 kB / 0.6912 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.3805, allocations: 80.94 kB / 0.6913 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.381, allocations: 169.3 kB / 0.6915 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.381, allocations: 0 / 0.6915 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005254/0.3815, allocations: 220.5 kB / 0.6917 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3815, allocations: 5.5 kB / 0.6917 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3815, allocations: 3.938 kB / 0.6917 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3815, allocations: 1.219 kB / 0.6917 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.3818, allocations: 39.92 kB / 0.6917 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3818, allocations: 3.938 kB / 0.6917 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.382, allocations: 25.02 kB / 0.6918 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.382, allocations: 2.219 kB / 0.6918 GB, free: 14.74 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001309/0.3821, allocations: 136.5 kB / 0.6919 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3821, allocations: 25.91 kB / 0.6919 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.3822, allocations: 28.92 kB / 0.6919 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3822, allocations: 1.281 kB / 0.6919 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3822, allocations: 5.156 kB / 0.6919 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3822, allocations: 3.984 kB / 0.6919 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.3825, allocations: 265.9 kB / 0.6922 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3825, allocations: 5.344 kB / 0.6922 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.3827, allocations: 35.38 kB / 0.6922 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3827, allocations: 1.188 kB / 0.6922 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3828, allocations: 9.234 kB / 0.6922 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3828, allocations: 0 / 0.6922 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3828, allocations: 9.031 kB / 0.6923 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.3834, allocations: 315.9 kB / 0.6926 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3835, allocations: 120.4 kB / 0.6927 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.3835, allocations: 1.125 kB / 0.6927 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3837, allocations: 11.33 kB / 0.6927 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.3837, allocations: 20.02 kB / 0.6927 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3838, allocations: 12.27 kB / 0.6927 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000157/0.3839, allocations: 177.9 kB / 0.6929 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 0 / 0.6929 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002723/0.3842, allocations: 37.92 kB / 0.6929 GB, free: 13.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009315/0.3851, allocations: 0.8527 MB / 0.6938 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.3856, allocations: 175 kB / 0.6939 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3856, allocations: 4 kB / 0.6939 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.3859, allocations: 90.02 kB / 0.694 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3863, allocations: 65.02 kB / 0.6941 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.3897, allocations: 2.415 MB / 0.6964 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.39, allocations: 0.7424 MB / 0.6972 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.3902, allocations: 53.83 kB / 0.6972 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.3903, allocations: 59.78 kB / 0.6973 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.3903, allocations: 0 / 0.6973 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.4178, allocations: 4.852 MB / 0.702 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.94, allocations: 10.47 kB / 0.702 GB, free: 7.824 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.207440174999647] Failed to read output from testmodel.py, exit status != 0: 9.014729083020939 9.048884576 8.6674814 Calling exit ...