Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001476/0.001476, allocations: 109 kB / 17.54 MB, free: 4.746 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.001464/0.001464, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9836/0.9836, allocations: 175.7 MB / 480.1 MB, free: 2.785 MB / 366.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-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(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.64 kB / 0.6677 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1507, allocations: 94.53 MB / 0.7601 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4807/0.6313, allocations: 177.7 MB / 0.9336 GB, free: 1.934 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.6478, allocations: 13.05 MB / 0.9463 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.649, allocations: 32.09 kB / 0.9463 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.6503, allocations: 474.7 kB / 0.9468 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.6532, allocations: 1.045 MB / 0.9478 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.6575, allocations: 1.919 MB / 0.9497 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00282/0.6603, allocations: 2.512 MB / 0.9521 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.6623, allocations: 1.287 MB / 0.9534 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.6664, allocations: 1.607 MB / 0.955 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.6677, allocations: 0.8931 MB / 0.9558 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.6681, allocations: 176.5 kB / 0.956 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.6708, allocations: 1.47 MB / 0.9574 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006025/0.6714, allocations: 498.5 kB / 0.9579 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.6726, allocations: 0.8747 MB / 0.9588 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.6769, allocations: 2.814 MB / 0.9615 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6769, allocations: 4 kB / 0.9615 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6769, allocations: 0 / 0.9615 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.272e-05/0.677, allocations: 3.938 kB / 0.9615 GB, free: 11.61 MB / 0.7012 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.003988/0.6809, allocations: 2.08 MB / 0.9635 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.681, allocations: 11.97 kB / 0.9636 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/0.6813, allocations: 206.7 kB / 0.9638 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.6838, allocations: 422.5 kB / 0.9642 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.6855, allocations: 1.035 MB / 0.9652 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/0.6856, allocations: 106.7 kB / 0.9653 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.6858, allocations: 132 kB / 0.9654 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.6885, allocations: 1.517 MB / 0.9669 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.6885, allocations: 3.938 kB / 0.9669 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.6887, allocations: 64 kB / 0.9669 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.6887, allocations: 32 kB / 0.967 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.6915, allocations: 1.583 MB / 0.9685 GB, free: 4.23 MB / 0.7012 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.007517/0.6991, allocations: 5.419 MB / 0.9738 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.7017, allocations: 1.444 MB / 0.9752 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008442/0.7025, allocations: 447.6 kB / 0.9756 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.7033, allocations: 417.3 kB / 0.976 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.7045, allocations: 0.6919 MB / 0.9767 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=107): time 2.826e-06/0.7045, allocations: 0 / 0.9767 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=107): time 0.004296/0.7088, allocations: 1.677 MB / 0.9784 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7089, allocations: 196.9 kB / 0.9785 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.7102, allocations: 0.896 MB / 0.9794 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.7103, allocations: 49.7 kB / 0.9795 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.7108, allocations: 0.6025 MB / 0.9801 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.7112, allocations: 368.8 kB / 0.9804 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.7115, allocations: 202.5 kB / 0.9806 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7116, allocations: 345.9 kB / 0.9809 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/0.7124, allocations: 373.8 kB / 0.9813 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009782/0.7134, allocations: 0.5651 MB / 0.9818 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.7151, allocations: 0.9332 MB / 0.9828 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7151, allocations: 0 / 0.9828 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002643/0.7178, allocations: 1.192 MB / 0.9839 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.7178, allocations: 15.92 kB / 0.9839 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.7178, allocations: 4 kB / 0.9839 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.7184, allocations: 85.19 kB / 0.984 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7195, allocations: 247.6 kB / 0.9843 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.7216, allocations: 1.645 MB / 0.9859 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.7226, allocations: 149.2 kB / 0.986 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.7227, allocations: 43.98 kB / 0.986 GB, free: 1.383 MB / 0.7169 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.0006141/0.7234, allocations: 341.7 kB / 0.9864 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.7236, allocations: 131.2 kB / 0.9865 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.7268, allocations: 1.433 MB / 0.9879 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7269, allocations: 12 kB / 0.9879 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7269, allocations: 4 kB / 0.9879 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.7269, allocations: 3.984 kB / 0.9879 GB, free: 15.45 MB / 0.7325 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.004882/0.7318, allocations: 2.864 MB / 0.9907 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7318, allocations: 0 / 0.9907 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/0.7327, allocations: 227.6 kB / 0.9909 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.7332, allocations: 72.8 kB / 0.991 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/0.7332, allocations: 31.97 kB / 0.991 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.7352, allocations: 1.681 MB / 0.9927 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7352, allocations: 4.031 kB / 0.9927 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.7379, allocations: 1.327 MB / 0.994 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.7385, allocations: 367.8 kB / 0.9943 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.7387, allocations: 27.94 kB / 0.9943 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009185/0.7396, allocations: 79.91 kB / 0.9944 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.7397, allocations: 80.89 kB / 0.9945 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7398, allocations: 51.95 kB / 0.9945 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008539/0.7407, allocations: 0.615 MB / 0.9951 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7407, allocations: 4 kB / 0.9952 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001224/0.7419, allocations: 0.4909 MB / 0.9956 GB, free: 7.258 MB / 0.7325 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.004959/0.7469, allocations: 2.484 MB / 0.9981 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.7492, allocations: 1.086 MB / 0.9991 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.7492, allocations: 7.906 kB / 0.9991 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.7504, allocations: 0.6328 MB / 0.9997 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.7526, allocations: 0.5361 MB / 1 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.7677, allocations: 8.938 MB / 1.009 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008981/0.7686, allocations: 1.209 MB / 1.01 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001243/0.7698, allocations: 385.9 kB / 1.011 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008487/0.7707, allocations: 0.5695 MB / 1.011 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.7707, allocations: 0 / 1.011 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07697/0.8477, allocations: 34.23 MB / 1.045 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.8, allocations: 7.859 kB / 1.045 GB, free: 5.43 MB / 0.7794 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.40891652800201]