Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001774/0.001774, allocations: 114.8 kB / 17.13 MB, free: 5.754 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.001964/0.001964, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.4/1.4, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.8196/0.8196, allocations: 129.2 MB / 432.5 MB, free: 13.14 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.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 67.89 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4261, allocations: 83.44 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2135/0.6396, allocations: 177.4 MB / 0.8534 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4067/1.046, allocations: 12.87 MB / 0.866 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/1.048, allocations: 33.31 kB / 0.866 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/1.05, allocations: 488.7 kB / 0.8665 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003704/1.053, allocations: 1.054 MB / 0.8675 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005268/1.059, allocations: 1.882 MB / 0.8693 GB, free: 1.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003974/1.062, allocations: 2.52 MB / 0.8718 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/1.065, allocations: 1.309 MB / 0.8731 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005137/1.07, allocations: 1.603 MB / 0.8747 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/1.072, allocations: 0.8966 MB / 0.8755 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006995/1.073, allocations: 171.6 kB / 0.8757 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/1.077, allocations: 1.473 MB / 0.8771 GB, free: 1.699 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008908/1.078, allocations: 497.7 kB / 0.8776 GB, free: 1.699 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002282/1.08, allocations: 0.8764 MB / 0.8785 GB, free: 1.699 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005795/1.086, allocations: 2.815 MB / 0.8812 GB, free: 1.512 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.086, allocations: 1.625 kB / 0.8812 GB, free: 1.512 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.813e-06/1.086, allocations: 0 / 0.8812 GB, free: 1.512 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.78e-05/1.086, allocations: 0.9062 kB / 0.8812 GB, free: 1.512 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.004103/1.09, allocations: 2.083 MB / 0.8832 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.09, allocations: 9.188 kB / 0.8833 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002457/1.09, allocations: 205.7 kB / 0.8835 GB, free: 16.4 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.093, allocations: 416 kB / 0.8838 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/1.095, allocations: 1.043 MB / 0.8849 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/1.095, allocations: 99.75 kB / 0.885 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/1.095, allocations: 134 kB / 0.8851 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/1.098, allocations: 1.526 MB / 0.8866 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/1.098, allocations: 0.9375 kB / 0.8866 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.098, allocations: 61.84 kB / 0.8866 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/1.098, allocations: 34 kB / 0.8867 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/1.101, allocations: 1.581 MB / 0.8882 GB, free: 15.7 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.008215/1.109, allocations: 5.411 MB / 0.8935 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/1.111, allocations: 1.443 MB / 0.8949 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/1.112, allocations: 452 kB / 0.8953 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007554/1.113, allocations: 426.4 kB / 0.8957 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/1.114, allocations: 0.693 MB / 0.8964 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=107): time 2.885e-06/1.114, allocations: 0 / 0.8964 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=107): time 0.004035/1.118, allocations: 1.671 MB / 0.8981 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.118, allocations: 195.5 kB / 0.8982 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/1.119, allocations: 0.8923 MB / 0.8991 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.12, allocations: 47.11 kB / 0.8992 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004779/1.12, allocations: 0.6062 MB / 0.8997 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/1.12, allocations: 374.1 kB / 0.9001 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/1.121, allocations: 196.1 kB / 0.9003 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.121, allocations: 350.4 kB / 0.9006 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/1.121, allocations: 378.8 kB / 0.901 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008413/1.122, allocations: 0.5594 MB / 0.9015 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/1.124, allocations: 0.9311 MB / 0.9024 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.124, allocations: 0.8438 kB / 0.9024 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002496/1.126, allocations: 1.192 MB / 0.9036 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.126, allocations: 6.344 kB / 0.9036 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.126, allocations: 9.281 kB / 0.9036 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/1.127, allocations: 88 kB / 0.9037 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.128, allocations: 248.7 kB / 0.9039 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/1.13, allocations: 1.648 MB / 0.9056 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.131, allocations: 133.9 kB / 0.9057 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/1.131, allocations: 45.8 kB / 0.9057 GB, free: 8.84 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007249/1.132, allocations: 341.2 kB / 0.9061 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.132, allocations: 127.4 kB / 0.9062 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/1.135, allocations: 1.432 MB / 0.9076 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/1.135, allocations: 15.38 kB / 0.9076 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.135, allocations: 3.938 kB / 0.9076 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.135, allocations: 10.27 kB / 0.9076 GB, free: 8.527 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 postOpt removeSimpleEquations (simulation): time 0.004487/1.14, allocations: 2.879 MB / 0.9104 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.14, allocations: 0 / 0.9104 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/1.141, allocations: 222.9 kB / 0.9106 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/1.141, allocations: 71.86 kB / 0.9107 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/1.141, allocations: 33.23 kB / 0.9107 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/1.143, allocations: 1.674 MB / 0.9124 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.143, allocations: 0 / 0.9124 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/1.146, allocations: 1.331 MB / 0.9137 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/1.146, allocations: 363 kB / 0.914 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/1.146, allocations: 28.09 kB / 0.914 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/1.147, allocations: 80.81 kB / 0.9141 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.148, allocations: 85.62 kB / 0.9142 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-05/1.148, allocations: 50.86 kB / 0.9142 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008168/1.148, allocations: 0.6173 MB / 0.9148 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.148, allocations: 2.125 kB / 0.9148 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001413/1.15, allocations: 499 kB / 0.9153 GB, free: 6.012 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004932/1.155, allocations: 2.499 MB / 0.9178 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.157, allocations: 1.083 MB / 0.9188 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.157, allocations: 0 / 0.9188 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.158, allocations: 0.6373 MB / 0.9194 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.16, allocations: 0.5228 MB / 0.92 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/1.174, allocations: 8.941 MB / 0.9287 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/1.175, allocations: 1.203 MB / 0.9299 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00153/1.177, allocations: 391.6 kB / 0.9302 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/1.178, allocations: 0.5754 MB / 0.9308 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of SimCode: time 9.62e-07/1.178, allocations: 0 / 0.9308 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08294/1.26, allocations: 34.16 MB / 0.9642 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.08, allocations: 14.36 kB / 0.9642 GB, free: 4.961 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.639516186900437] Failed to read output from testmodel.py, exit status != 0: 15.289229691959918 15.312491681 14.221348799 Calling exit ...