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.001318/0.001318, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.001222/0.001222, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.355/1.355, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] 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 1.021/1.021, allocations: 175.8 MB / 478.4 MB, free: 8.461 MB / 382.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.001869/0.001869, allocations: 70.08 kB / 0.6652 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1848, allocations: 94.54 MB / 0.7575 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5549/0.7397, allocations: 177.4 MB / 0.9308 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.7579, allocations: 12.9 MB / 0.9434 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.7595, allocations: 31.81 kB / 0.9434 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.761, allocations: 484.3 kB / 0.9439 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.7642, allocations: 1.041 MB / 0.9449 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.7688, allocations: 1.896 MB / 0.9467 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003607/0.7724, allocations: 2.517 MB / 0.9492 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.7746, allocations: 1.315 MB / 0.9505 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/0.7791, allocations: 1.602 MB / 0.952 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.7806, allocations: 0.8947 MB / 0.9529 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.7809, allocations: 172 kB / 0.9531 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.7839, allocations: 1.474 MB / 0.9545 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005719/0.7845, allocations: 494.5 kB / 0.955 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.7856, allocations: 0.8747 MB / 0.9558 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005144/0.7908, allocations: 2.809 MB / 0.9586 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.7908, allocations: 7.984 kB / 0.9586 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7908, allocations: 3.938 kB / 0.9586 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.343e-05/0.7908, allocations: 0 / 0.9586 GB, free: 9.98 MB / 0.7481 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.004161/0.795, allocations: 2.084 MB / 0.9606 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.795, allocations: 8.031 kB / 0.9606 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.7953, allocations: 198.7 kB / 0.9608 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.798, allocations: 430.4 kB / 0.9612 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.7998, allocations: 1.024 MB / 0.9622 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.7999, allocations: 98.72 kB / 0.9623 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.8001, allocations: 144 kB / 0.9625 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.8027, allocations: 1.517 MB / 0.9639 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.8027, allocations: 3.938 kB / 0.9639 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.8029, allocations: 63.94 kB / 0.964 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.8029, allocations: 38.38 kB / 0.964 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.8056, allocations: 1.587 MB / 0.9656 GB, free: 2.602 MB / 0.7481 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.007607/0.8132, allocations: 5.408 MB / 0.9709 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.8158, allocations: 1.455 MB / 0.9723 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.8166, allocations: 440.1 kB / 0.9727 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.8174, allocations: 425.3 kB / 0.9731 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.8187, allocations: 0.688 MB / 0.9738 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=107): time 2.675e-06/0.8187, allocations: 0 / 0.9738 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of matching and sorting (n=107): time 0.004233/0.8229, allocations: 1.673 MB / 0.9754 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.823, allocations: 200.9 kB / 0.9756 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.8242, allocations: 0.8921 MB / 0.9765 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.8243, allocations: 49.7 kB / 0.9765 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.8248, allocations: 0.6025 MB / 0.9771 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.8252, allocations: 376.8 kB / 0.9775 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.8255, allocations: 194.6 kB / 0.9777 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.8257, allocations: 341.9 kB / 0.978 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/0.8264, allocations: 381.8 kB / 0.9784 GB, free: 4.891 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000953/0.8274, allocations: 0.5632 MB / 0.9789 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.829, allocations: 0.9332 MB / 0.9798 GB, free: 3.289 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.829, allocations: 0 / 0.9798 GB, free: 3.289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002589/0.8316, allocations: 1.189 MB / 0.981 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8317, allocations: 12.03 kB / 0.981 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8317, allocations: 4 kB / 0.981 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/0.8322, allocations: 88.77 kB / 0.9811 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.8333, allocations: 243.6 kB / 0.9813 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.8356, allocations: 1.652 MB / 0.9829 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.8366, allocations: 131.1 kB / 0.9831 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.8367, allocations: 47.97 kB / 0.9831 GB, free: 15.77 MB / 0.7794 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.0007154/0.8374, allocations: 342.2 kB / 0.9834 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.8377, allocations: 127.2 kB / 0.9835 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.8409, allocations: 1.432 MB / 0.9849 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.8409, allocations: 12 kB / 0.985 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8409, allocations: 4 kB / 0.985 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.8409, allocations: 11.91 kB / 0.985 GB, free: 13.84 MB / 0.7794 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.005025/0.846, allocations: 2.872 MB / 0.9878 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.846, allocations: 3.938 kB / 0.9878 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/0.8469, allocations: 219.7 kB / 0.988 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.8474, allocations: 76.78 kB / 0.9881 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/0.8475, allocations: 27.97 kB / 0.9881 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.8495, allocations: 1.674 MB / 0.9897 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8495, allocations: 4.031 kB / 0.9897 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.8524, allocations: 1.323 MB / 0.991 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.8531, allocations: 371.7 kB / 0.9914 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.8534, allocations: 28 kB / 0.9914 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009645/0.8543, allocations: 75.92 kB / 0.9915 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.8545, allocations: 84.88 kB / 0.9916 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.8547, allocations: 55.95 kB / 0.9916 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009939/0.8557, allocations: 0.6189 MB / 0.9922 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8557, allocations: 4 kB / 0.9922 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001482/0.8571, allocations: 494.7 kB / 0.9927 GB, free: 5.656 MB / 0.7794 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.005157/0.8623, allocations: 2.494 MB / 0.9951 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.8647, allocations: 1.085 MB / 0.9962 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.8647, allocations: 8.531 kB / 0.9962 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.866, allocations: 0.6329 MB / 0.9968 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.8683, allocations: 0.5328 MB / 0.9973 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.8844, allocations: 8.934 MB / 1.006 GB, free: 7.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.8855, allocations: 1.205 MB / 1.007 GB, free: 6.695 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001404/0.8869, allocations: 389.9 kB / 1.008 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008848/0.8877, allocations: 0.5734 MB / 1.008 GB, free: 5.742 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/0.8877, allocations: 4 kB / 1.008 GB, free: 5.738 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08044/0.9682, allocations: 34.15 MB / 1.042 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.84, allocations: 3.938 kB / 1.042 GB, free: 3.992 MB / 0.8262 GB " [Timeout remaining time 645] (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 --stepSize=12614.4 --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: 18.67037284374237] Failed to read output from testmodel.py, exit status != 0: 15.041442137677222 15.055256757 14.261374969 Calling exit ...