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.001363/0.001363, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001578/0.001578, allocations: 223.7 kB / 23.03 MB, free: 4.945 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8223/0.8223, allocations: 134 MB / 447.2 MB, free: 9.949 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.002119/0.002119, allocations: 61.38 kB / 0.6192 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1664, allocations: 85.91 MB / 0.7031 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5602/0.7266, allocations: 155.1 MB / 0.8546 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.7427, allocations: 11.86 MB / 0.8661 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.7437, allocations: 43.62 kB / 0.8662 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.7449, allocations: 432.7 kB / 0.8666 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.7476, allocations: 0.9793 MB / 0.8676 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004352/0.7519, allocations: 1.861 MB / 0.8694 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002921/0.7548, allocations: 2.314 MB / 0.8716 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.7567, allocations: 1.298 MB / 0.8729 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.7605, allocations: 1.437 MB / 0.8743 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.7616, allocations: 0.8402 MB / 0.8751 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.7618, allocations: 160 kB / 0.8753 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.7645, allocations: 1.298 MB / 0.8765 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.765, allocations: 478.5 kB / 0.877 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007494/0.7657, allocations: 0.6571 MB / 0.8776 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.7697, allocations: 2.688 MB / 0.8803 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7697, allocations: 0 / 0.8803 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7697, allocations: 0 / 0.8803 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.7698, allocations: 0 / 0.8803 GB, free: 13.84 MB / 0.6544 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.003461/0.7732, allocations: 1.903 MB / 0.8821 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.7733, allocations: 12.62 kB / 0.8821 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.108e-05/0.7733, allocations: 34.62 kB / 0.8822 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/0.7736, allocations: 198.3 kB / 0.8824 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.7768, allocations: 459.3 kB / 0.8828 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.7785, allocations: 0.9359 MB / 0.8837 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.7786, allocations: 94.62 kB / 0.8838 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.7788, allocations: 128 kB / 0.8839 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.782, allocations: 1.968 MB / 0.8858 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.782, allocations: 0 / 0.8858 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.7821, allocations: 60 kB / 0.8859 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.7822, allocations: 35.94 kB / 0.8859 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.785, allocations: 1.536 MB / 0.8874 GB, free: 6.211 MB / 0.6544 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.007061/0.792, allocations: 3.843 MB / 0.8912 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.7944, allocations: 1.058 MB / 0.8922 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/0.7952, allocations: 415.6 kB / 0.8926 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.7958, allocations: 112.9 kB / 0.8927 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/0.7972, allocations: 0.9753 MB / 0.8937 GB, free: 15.61 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 2.775e-06/0.7972, allocations: 0 / 0.8937 GB, free: 15.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=98): time 0.004157/0.8014, allocations: 1.469 MB / 0.8951 GB, free: 14.14 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.8015, allocations: 200.9 kB / 0.8953 GB, free: 13.89 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.8028, allocations: 0.8712 MB / 0.8962 GB, free: 13 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.8029, allocations: 45.7 kB / 0.8962 GB, free: 12.95 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000574/0.8035, allocations: 0.5907 MB / 0.8968 GB, free: 12.35 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.8038, allocations: 345.1 kB / 0.8971 GB, free: 12.01 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.8042, allocations: 178.6 kB / 0.8973 GB, free: 11.83 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.8044, allocations: 345.9 kB / 0.8976 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007245/0.8051, allocations: 341.8 kB / 0.8979 GB, free: 11.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.8061, allocations: 0.6999 MB / 0.8986 GB, free: 10.35 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.8078, allocations: 0.8824 MB / 0.8995 GB, free: 9.426 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.8078, allocations: 0 / 0.8995 GB, free: 9.426 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00269/0.8105, allocations: 1.115 MB / 0.9006 GB, free: 8.301 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.8105, allocations: 8 kB / 0.9006 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.8105, allocations: 0 / 0.9006 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.8112, allocations: 84.88 kB / 0.9007 GB, free: 8.207 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.8122, allocations: 231.7 kB / 0.9009 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.8144, allocations: 1.543 MB / 0.9024 GB, free: 6.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.8154, allocations: 115.2 kB / 0.9025 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.8155, allocations: 48.03 kB / 0.9025 GB, free: 6.16 MB / 0.67 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.0006458/0.8161, allocations: 325.5 kB / 0.9028 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.8164, allocations: 123.2 kB / 0.903 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.8196, allocations: 1.338 MB / 0.9043 GB, free: 4.355 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.8196, allocations: 8 kB / 0.9043 GB, free: 4.348 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8196, allocations: 4 kB / 0.9043 GB, free: 4.344 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.8196, allocations: 7.969 kB / 0.9043 GB, free: 4.336 MB / 0.67 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.004578/0.8242, allocations: 2.4 MB / 0.9066 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8242, allocations: 0 / 0.9066 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.8252, allocations: 215.7 kB / 0.9068 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.8256, allocations: 76.78 kB / 0.9069 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.8257, allocations: 27.92 kB / 0.9069 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.8278, allocations: 1.574 MB / 0.9085 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8278, allocations: 0 / 0.9085 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.8305, allocations: 1.229 MB / 0.9097 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/0.8311, allocations: 274.8 kB / 0.9099 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.8313, allocations: 24 kB / 0.91 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/0.8322, allocations: 77.84 kB / 0.91 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.8323, allocations: 76.84 kB / 0.9101 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.8324, allocations: 44.11 kB / 0.9102 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009421/0.8334, allocations: 0.6103 MB / 0.9107 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8334, allocations: 0 / 0.9107 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001343/0.8347, allocations: 462.8 kB / 0.9112 GB, free: 13.06 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.005092/0.8398, allocations: 2.42 MB / 0.9136 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.8422, allocations: 0.9957 MB / 0.9145 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.8422, allocations: 4 kB / 0.9145 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.8433, allocations: 0.6018 MB / 0.9151 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.8456, allocations: 0.5 MB / 0.9156 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.8614, allocations: 8.628 MB / 0.924 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.8621, allocations: 0.5923 MB / 0.9246 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001315/0.8634, allocations: 369.5 kB / 0.925 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008207/0.8642, allocations: 0.5422 MB / 0.9255 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of SimCode: time 8.11e-07/0.8642, allocations: 0 / 0.9255 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07609/0.9403, allocations: 34.66 MB / 0.9593 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.05, allocations: 18.19 kB / 0.9594 GB, free: 12.12 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.909310998977162] Failed to read output from testmodel.py, exit status != 0: 16.33583290001843 16.364269054 15.588652554 Calling exit ...