Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 119.6 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.811/2.811, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.865/0.8669, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2221/1.089, allocations: 180.4 MB / 1.498 GB, free: 3.043 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0194/1.108, allocations: 12.96 MB / 1.51 GB, free: 7.965 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/1.11, allocations: 43.62 kB / 1.51 GB, free: 7.922 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/1.112, allocations: 488.3 kB / 1.511 GB, free: 7.441 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/1.115, allocations: 1.068 MB / 1.512 GB, free: 6.371 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005087/1.12, allocations: 1.902 MB / 1.514 GB, free: 4.477 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003615/1.124, allocations: 2.543 MB / 1.516 GB, free: 1.926 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/1.126, allocations: 1.321 MB / 1.517 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004777/1.131, allocations: 1.646 MB / 1.519 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/1.132, allocations: 0.8947 MB / 1.52 GB, free: 14.03 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/1.133, allocations: 172 kB / 1.52 GB, free: 13.86 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/1.136, allocations: 1.509 MB / 1.522 GB, free: 12.35 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005422/1.136, allocations: 0.5023 MB / 1.522 GB, free: 11.84 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/1.137, allocations: 0.8825 MB / 1.523 GB, free: 10.96 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005222/1.143, allocations: 2.861 MB / 1.526 GB, free: 8.086 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.143, allocations: 0 / 1.526 GB, free: 8.086 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.974e-06/1.143, allocations: 0 / 1.526 GB, free: 8.086 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.528e-05/1.143, allocations: 0 / 1.526 GB, free: 8.086 MB / 1.201 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.004344/1.147, allocations: 2.118 MB / 1.528 GB, free: 5.902 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.147, allocations: 11.98 kB / 1.528 GB, free: 5.891 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.931e-05/1.147, allocations: 34.72 kB / 1.528 GB, free: 5.855 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002544/1.147, allocations: 202.7 kB / 1.528 GB, free: 5.648 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/1.151, allocations: 466.4 kB / 1.528 GB, free: 5.191 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/1.153, allocations: 1.051 MB / 1.529 GB, free: 4.094 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.153, allocations: 102.7 kB / 1.53 GB, free: 3.992 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/1.153, allocations: 131.9 kB / 1.53 GB, free: 3.863 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/1.156, allocations: 1.524 MB / 1.531 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.156, allocations: 0 / 1.531 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.156, allocations: 60 kB / 1.531 GB, free: 2.203 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/1.156, allocations: 32 kB / 1.531 GB, free: 2.172 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/1.159, allocations: 1.587 MB / 1.533 GB, free: 0.5781 MB / 1.201 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.008549/1.168, allocations: 5.416 MB / 1.538 GB, free: 10.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/1.171, allocations: 1.448 MB / 1.54 GB, free: 9.293 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008934/1.172, allocations: 444.1 kB / 1.54 GB, free: 8.859 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008382/1.172, allocations: 429.3 kB / 1.54 GB, free: 8.367 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/1.174, allocations: 0.6995 MB / 1.541 GB, free: 7.645 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 2.464e-06/1.174, allocations: 0 / 1.541 GB, free: 7.645 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004803/1.179, allocations: 1.673 MB / 1.543 GB, free: 5.949 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/1.179, allocations: 200.9 kB / 1.543 GB, free: 5.707 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/1.18, allocations: 0.9128 MB / 1.544 GB, free: 4.773 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/1.181, allocations: 53.69 kB / 1.544 GB, free: 4.715 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/1.181, allocations: 0.6142 MB / 1.544 GB, free: 4.094 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/1.182, allocations: 372.8 kB / 1.545 GB, free: 3.727 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/1.182, allocations: 194.6 kB / 1.545 GB, free: 3.531 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000187/1.182, allocations: 341.9 kB / 1.545 GB, free: 3.191 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/1.183, allocations: 377.8 kB / 1.546 GB, free: 2.824 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.184, allocations: 0.5593 MB / 1.546 GB, free: 2.195 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/1.186, allocations: 0.9371 MB / 1.547 GB, free: 1.219 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.186, allocations: 0 / 1.547 GB, free: 1.219 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002892/1.189, allocations: 1.192 MB / 1.548 GB, free: 16 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.189, allocations: 4 kB / 1.548 GB, free: 12 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.189, allocations: 4 kB / 1.548 GB, free: 8 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/1.189, allocations: 89.17 kB / 1.548 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.191, allocations: 243.7 kB / 1.549 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.193, allocations: 1.653 MB / 1.55 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.194, allocations: 135.2 kB / 1.55 GB, free: 13.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/1.194, allocations: 43.97 kB / 1.55 GB, free: 13.71 MB / 1.232 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.0006786/1.195, allocations: 345.6 kB / 1.551 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/1.195, allocations: 127.2 kB / 1.551 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/1.198, allocations: 1.437 MB / 1.552 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.198, allocations: 16 kB / 1.552 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.198, allocations: 3.984 kB / 1.552 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.198, allocations: 7.984 kB / 1.552 GB, free: 11.76 MB / 1.232 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.005029/1.203, allocations: 2.892 MB / 1.555 GB, free: 8.781 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.203, allocations: 0 / 1.555 GB, free: 8.781 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.204, allocations: 223.7 kB / 1.555 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/1.205, allocations: 72.72 kB / 1.555 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/1.205, allocations: 35.97 kB / 1.555 GB, free: 8.453 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/1.207, allocations: 1.678 MB / 1.557 GB, free: 6.629 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.207, allocations: 0 / 1.557 GB, free: 6.629 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/1.21, allocations: 1.331 MB / 1.558 GB, free: 5.281 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/1.21, allocations: 367.8 kB / 1.559 GB, free: 4.902 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/1.211, allocations: 23.94 kB / 1.559 GB, free: 4.879 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/1.212, allocations: 89.88 kB / 1.559 GB, free: 4.793 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/1.212, allocations: 80.89 kB / 1.559 GB, free: 4.715 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.212, allocations: 55.95 kB / 1.559 GB, free: 4.66 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001049/1.213, allocations: 0.6389 MB / 1.56 GB, free: 4.012 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.213, allocations: 0 / 1.56 GB, free: 4.012 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001332/1.214, allocations: 498.7 kB / 1.56 GB, free: 3.523 MB / 1.232 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.005551/1.22, allocations: 2.486 MB / 1.562 GB, free: 1.184 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002695/1.223, allocations: 1.078 MB / 1.564 GB, free: 96 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.223, allocations: 4 kB / 1.564 GB, free: 92 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.224, allocations: 0.629 MB / 1.564 GB, free: 15.45 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.227, allocations: 0.5365 MB / 1.565 GB, free: 14.94 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.245, allocations: 9.006 MB / 1.573 GB, free: 5.73 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.246, allocations: 1.209 MB / 1.575 GB, free: 4.492 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001701/1.248, allocations: 394 kB / 1.575 GB, free: 4.105 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.249, allocations: 0.5812 MB / 1.576 GB, free: 3.523 MB / 1.248 GB Notification: Performance of SimCode: time 1.483e-06/1.249, allocations: 0 / 1.576 GB, free: 3.523 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08193/1.331, allocations: 34.54 MB / 1.609 GB, free: 1.375 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.55, allocations: 6.219 kB / 1.609 GB, free: 1.371 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.902023161994293] Failed to read output from testmodel.py, exit status != 0: 15.82226751500275 15.848351399 14.700599381 Calling exit ...