Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001322/0.001322, allocations: 120 kB / 17.17 MB, free: 5.977 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.001467/0.001467, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.428/1.428, 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/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8486/0.8486, allocations: 133.9 MB / 443.5 MB, free: 13.85 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00216/0.00216, allocations: 68.42 kB / 0.6141 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1705, allocations: 85.85 MB / 0.6979 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6872/0.8578, allocations: 179.3 MB / 0.873 GB, free: 1.828 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.8747, allocations: 12.79 MB / 0.8855 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.8764, allocations: 45.78 kB / 0.8856 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.8779, allocations: 458.4 kB / 0.886 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.8815, allocations: 0.9635 MB / 0.8869 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005988/0.8875, allocations: 1.862 MB / 0.8888 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004115/0.8916, allocations: 2.295 MB / 0.891 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.8945, allocations: 1.322 MB / 0.8923 GB, free: 1.449 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.8989, allocations: 1.44 MB / 0.8937 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.9007, allocations: 0.8499 MB / 0.8945 GB, free: 1.418 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005475/0.9012, allocations: 160.8 kB / 0.8947 GB, free: 1.418 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/0.9048, allocations: 1.49 MB / 0.8961 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006986/0.9055, allocations: 478.5 kB / 0.8966 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.9072, allocations: 0.8054 MB / 0.8974 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005322/0.9125, allocations: 2.692 MB / 0.9 GB, free: 1.016 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9125, allocations: 0.9062 kB / 0.9 GB, free: 1.016 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9125, allocations: 0 / 0.9 GB, free: 1.016 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.057e-05/0.9126, allocations: 3.719 kB / 0.9 GB, free: 1.016 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.00447/0.917, allocations: 1.99 MB / 0.902 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9171, allocations: 9.297 kB / 0.902 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.463e-05/0.9171, allocations: 36.22 kB / 0.902 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.9174, allocations: 207.4 kB / 0.9022 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/0.9206, allocations: 450.1 kB / 0.9026 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.9222, allocations: 1.01 MB / 0.9036 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.9223, allocations: 97.12 kB / 0.9037 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.9224, allocations: 126.2 kB / 0.9038 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.9247, allocations: 1.466 MB / 0.9053 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.9247, allocations: 0 / 0.9053 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.9248, allocations: 60.56 kB / 0.9053 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.9249, allocations: 32 kB / 0.9054 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.9271, allocations: 1.531 MB / 0.9068 GB, free: 15.23 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.006368/0.9335, allocations: 4.908 MB / 0.9116 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.9357, allocations: 1.365 MB / 0.913 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.9364, allocations: 411.2 kB / 0.9134 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/0.9371, allocations: 429.9 kB / 0.9138 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.9381, allocations: 0.626 MB / 0.9144 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.194e-06/0.9381, allocations: 0.75 kB / 0.9144 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.003764/0.9419, allocations: 1.541 MB / 0.9159 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.942, allocations: 195.6 kB / 0.9161 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.9431, allocations: 0.8757 MB / 0.9169 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.627e-05/0.9432, allocations: 48.55 kB / 0.917 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/0.9437, allocations: 0.5882 MB / 0.9176 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.944, allocations: 346.1 kB / 0.9179 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.9442, allocations: 179.5 kB / 0.9181 GB, free: 11 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.9444, allocations: 343.8 kB / 0.9184 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.945, allocations: 341.8 kB / 0.9187 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.9459, allocations: 0.5239 MB / 0.9192 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.9474, allocations: 0.8844 MB / 0.9201 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9474, allocations: 0 / 0.9201 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002349/0.9497, allocations: 1.115 MB / 0.9212 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.9497, allocations: 7.531 kB / 0.9212 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9497, allocations: 2.781 kB / 0.9212 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.9503, allocations: 87.16 kB / 0.9213 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.9513, allocations: 228.8 kB / 0.9215 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.9535, allocations: 1.65 MB / 0.9231 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/0.9544, allocations: 122.1 kB / 0.9232 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.9544, allocations: 40.53 kB / 0.9233 GB, free: 8.812 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: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0005957/0.955, allocations: 324.4 kB / 0.9236 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.9553, allocations: 126.6 kB / 0.9237 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.9581, allocations: 1.335 MB / 0.925 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.9581, allocations: 11.16 kB / 0.925 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.9581, allocations: 0 / 0.925 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9581, allocations: 5.672 kB / 0.925 GB, free: 8.523 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.004408/0.9626, allocations: 2.719 MB / 0.9277 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.9626, allocations: 4.906 kB / 0.9277 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008877/0.9635, allocations: 212.3 kB / 0.9279 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.9639, allocations: 78.64 kB / 0.9279 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.9639, allocations: 30.89 kB / 0.928 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.9661, allocations: 1.663 MB / 0.9296 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9661, allocations: 0.9062 kB / 0.9296 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.9685, allocations: 1.237 MB / 0.9308 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.969, allocations: 357.7 kB / 0.9311 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.9691, allocations: 28.77 kB / 0.9312 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.9699, allocations: 70.34 kB / 0.9312 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.9701, allocations: 69.75 kB / 0.9313 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-05/0.9702, allocations: 48.41 kB / 0.9313 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007821/0.971, allocations: 0.6074 MB / 0.9319 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.971, allocations: 1.062 kB / 0.9319 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001267/0.9722, allocations: 461.7 kB / 0.9324 GB, free: 6 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004834/0.9771, allocations: 2.384 MB / 0.9347 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.9791, allocations: 1.01 MB / 0.9357 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9791, allocations: 2.812 kB / 0.9357 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.9802, allocations: 0.5948 MB / 0.9363 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.9825, allocations: 0.5026 MB / 0.9368 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.002, allocations: 8.619 MB / 0.9452 GB, free: 220 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.003, allocations: 1.182 MB / 0.9463 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002088/1.005, allocations: 385.9 kB / 0.9467 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.006, allocations: 0.5394 MB / 0.9472 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of SimCode: time 8.61e-07/1.006, allocations: 4 kB / 0.9472 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.111, allocations: 32.45 MB / 0.9789 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.16, allocations: 12.19 kB / 0.9789 GB, free: 15.3 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.153215466998518] Failed to read output from testmodel.py, exit status != 0: 15.702476694015786 15.439243487 14.522843522 Calling exit ...