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.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.001887/0.001887, allocations: 112.7 kB / 17.83 MB, free: 5.336 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.00225/0.00225, allocations: 201.6 kB / 20.8 MB, free: 2.391 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.452/1.452, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9276/0.9276, allocations: 150 MB / 460.2 MB, free: 5.336 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001967/0.001967, allocations: 66.53 kB / 0.6368 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1517, allocations: 89.13 MB / 0.7238 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6022/0.7539, allocations: 180.3 MB / 0.8999 GB, free: 2.258 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.7685, allocations: 12.96 MB / 0.9126 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.7701, allocations: 45.78 kB / 0.9126 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.7714, allocations: 494.4 kB / 0.9131 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.7744, allocations: 1.069 MB / 0.9141 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.7788, allocations: 1.905 MB / 0.916 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003256/0.7821, allocations: 2.539 MB / 0.9185 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.7842, allocations: 1.32 MB / 0.9198 GB, free: 17.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004567/0.7887, allocations: 1.634 MB / 0.9214 GB, free: 17.56 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.7903, allocations: 0.9076 MB / 0.9223 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.7906, allocations: 174.4 kB / 0.9224 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.7935, allocations: 1.51 MB / 0.9239 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.7939, allocations: 0.4939 MB / 0.9244 GB, free: 17.39 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009635/0.7949, allocations: 0.8851 MB / 0.9252 GB, free: 17.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004938/0.7998, allocations: 2.857 MB / 0.928 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7998, allocations: 5.922 kB / 0.928 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7998, allocations: 2.031 kB / 0.928 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.424e-05/0.7999, allocations: 0 / 0.928 GB, free: 16.74 MB / 0.6856 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.003856/0.8037, allocations: 2.106 MB / 0.9301 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.8038, allocations: 10.28 kB / 0.9301 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.041e-05/0.8038, allocations: 38.81 kB / 0.9301 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.8041, allocations: 207.6 kB / 0.9303 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.8073, allocations: 465.3 kB / 0.9308 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.8095, allocations: 1.046 MB / 0.9318 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.891e-05/0.8096, allocations: 101.6 kB / 0.9319 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.8098, allocations: 135.9 kB / 0.932 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.8127, allocations: 1.527 MB / 0.9335 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.8128, allocations: 0.875 kB / 0.9335 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.8129, allocations: 57.56 kB / 0.9336 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.813, allocations: 38.53 kB / 0.9336 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.8162, allocations: 1.582 MB / 0.9352 GB, free: 14.41 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.008359/0.8245, allocations: 5.415 MB / 0.9404 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.8271, allocations: 1.455 MB / 0.9419 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/0.8279, allocations: 446.7 kB / 0.9423 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.8287, allocations: 421.9 kB / 0.9427 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.8299, allocations: 0.6896 MB / 0.9434 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=107): time 2.675e-06/0.8299, allocations: 0 / 0.9434 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of matching and sorting (n=107): time 0.00438/0.8343, allocations: 1.68 MB / 0.945 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.8344, allocations: 192.1 kB / 0.9452 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.8358, allocations: 0.919 MB / 0.9461 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.8359, allocations: 50.02 kB / 0.9461 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.8365, allocations: 0.6076 MB / 0.9467 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.8368, allocations: 378.9 kB / 0.9471 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.8372, allocations: 202.1 kB / 0.9473 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8373, allocations: 344.1 kB / 0.9476 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.8381, allocations: 376 kB / 0.948 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009525/0.839, allocations: 0.5673 MB / 0.9485 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.8407, allocations: 0.9326 MB / 0.9494 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8407, allocations: 0 / 0.9494 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002779/0.8435, allocations: 1.195 MB / 0.9506 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.8435, allocations: 7.062 kB / 0.9506 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8435, allocations: 2.906 kB / 0.9506 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.8442, allocations: 85.53 kB / 0.9507 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.8452, allocations: 245.9 kB / 0.9509 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.8475, allocations: 1.649 MB / 0.9525 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.8486, allocations: 138.3 kB / 0.9527 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.8487, allocations: 43.53 kB / 0.9527 GB, free: 1.836 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.0007615/0.8495, allocations: 344.2 kB / 0.953 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.8499, allocations: 128.8 kB / 0.9532 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.8532, allocations: 1.436 MB / 0.9546 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.8532, allocations: 12.66 kB / 0.9546 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8532, allocations: 7.938 kB / 0.9546 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.8532, allocations: 7.969 kB / 0.9546 GB, free: 0.7031 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.005362/0.8586, allocations: 2.887 MB / 0.9574 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.8586, allocations: 3.938 kB / 0.9574 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/0.8595, allocations: 221.5 kB / 0.9576 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.86, allocations: 74.98 kB / 0.9577 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/0.8601, allocations: 36.59 kB / 0.9577 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.8621, allocations: 1.675 MB / 0.9594 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8622, allocations: 0 / 0.9594 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.8651, allocations: 1.331 MB / 0.9607 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008/0.8659, allocations: 378.5 kB / 0.961 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/0.8663, allocations: 23.28 kB / 0.9611 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.8674, allocations: 75.67 kB / 0.9611 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.8676, allocations: 89.72 kB / 0.9612 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.8678, allocations: 53.36 kB / 0.9613 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001193/0.869, allocations: 0.6339 MB / 0.9619 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/0.869, allocations: 0 / 0.9619 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001708/0.8707, allocations: 0.4927 MB / 0.9624 GB, free: 11.41 MB / 0.7012 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.005711/0.8764, allocations: 2.484 MB / 0.9648 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002671/0.879, allocations: 1.076 MB / 0.9658 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.8791, allocations: 4 kB / 0.9658 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.8804, allocations: 0.6399 MB / 0.9665 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.8832, allocations: 0.5353 MB / 0.967 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.9036, allocations: 8.997 MB / 0.9758 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009911/0.9046, allocations: 1.221 MB / 0.977 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001548/0.9061, allocations: 390.1 kB / 0.9773 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.9072, allocations: 0.5851 MB / 0.9779 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of SimCode: time 1.232e-06/0.9072, allocations: 0 / 0.9779 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07665/0.9838, allocations: 34.5 MB / 1.012 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.4, allocations: 7.672 kB / 1.012 GB, free: 10.03 MB / 0.7481 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 19.48552445997484] Failed to read output from testmodel.py, exit status != 0: 15.668893210007809 15.692315676 14.888027305 Calling exit ...