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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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: translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009489/0.009489, allocations: 95.39 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002152/0.002153, allocations: 197.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7751/0.7751, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.09 kB / 0.5813 GB, free: 7.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.443, allocations: 80.2 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1863/0.6293, allocations: 175.8 MB / 0.8313 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.6467, allocations: 12.64 MB / 0.8437 GB, free: 9.164 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.6479, allocations: 35.81 kB / 0.8437 GB, free: 9.129 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.649, allocations: 436.7 kB / 0.8441 GB, free: 8.699 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.6515, allocations: 0.9309 MB / 0.845 GB, free: 7.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.6553, allocations: 1.809 MB / 0.8468 GB, free: 5.969 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.6576, allocations: 2.287 MB / 0.849 GB, free: 3.676 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.6593, allocations: 1.586 MB / 0.8506 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.6622, allocations: 1.365 MB / 0.8519 GB, free: 0.707 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008128/0.663, allocations: 0.8051 MB / 0.8527 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.6632, allocations: 160 kB / 0.8529 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.6655, allocations: 1.419 MB / 0.8543 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.6659, allocations: 458.6 kB / 0.8547 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.6666, allocations: 0.8007 MB / 0.8555 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.6695, allocations: 2.652 MB / 0.8581 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6696, allocations: 0 / 0.8581 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6696, allocations: 0 / 0.8581 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.6696, allocations: 0 / 0.8581 GB, free: 10.41 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.00274/0.6723, allocations: 1.959 MB / 0.86 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.6724, allocations: 8.031 kB / 0.86 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.6748, allocations: 406.5 kB / 0.8604 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.6761, allocations: 0.9926 MB / 0.8613 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.6762, allocations: 94.62 kB / 0.8614 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6764, allocations: 132 kB / 0.8616 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.6787, allocations: 1.452 MB / 0.863 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.6787, allocations: 0 / 0.863 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.6788, allocations: 64 kB / 0.863 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.6789, allocations: 35.94 kB / 0.8631 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.6813, allocations: 1.532 MB / 0.8646 GB, free: 3.555 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.3967/1.078, allocations: 4.891 MB / 0.8693 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/1.081, allocations: 1.415 MB / 0.8707 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009247/1.082, allocations: 457.4 kB / 0.8712 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/1.083, allocations: 424.9 kB / 0.8716 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/1.084, allocations: 0.6221 MB / 0.8722 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 3.417e-06/1.084, allocations: 0 / 0.8722 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004535/1.089, allocations: 1.538 MB / 0.8737 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/1.089, allocations: 200.1 kB / 0.8739 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/1.09, allocations: 0.8484 MB / 0.8747 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.091, allocations: 44.17 kB / 0.8747 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/1.091, allocations: 0.5813 MB / 0.8753 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/1.091, allocations: 346.7 kB / 0.8756 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/1.092, allocations: 198.5 kB / 0.8758 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.092, allocations: 344 kB / 0.8762 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000838/1.093, allocations: 365.4 kB / 0.8765 GB, free: 190 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/1.094, allocations: 0.5315 MB / 0.877 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/1.096, allocations: 0.9059 MB / 0.8779 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.096, allocations: 4.188 kB / 0.8779 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003072/1.099, allocations: 1.163 MB / 0.879 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.099, allocations: 7.594 kB / 0.8791 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.099, allocations: 3.219 kB / 0.8791 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/1.099, allocations: 86.94 kB / 0.8791 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.1, allocations: 238.8 kB / 0.8794 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/1.102, allocations: 1.649 MB / 0.881 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009749/1.103, allocations: 126.2 kB / 0.8811 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/1.103, allocations: 45.33 kB / 0.8811 GB, free: 187.2 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (119): * Single equations (assignments): 118 * 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.0006253/1.104, allocations: 329.6 kB / 0.8815 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/1.104, allocations: 124.8 kB / 0.8816 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/1.107, allocations: 1.333 MB / 0.8829 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/1.107, allocations: 14.91 kB / 0.8829 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.107, allocations: 0 / 0.8829 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.107, allocations: 7.453 kB / 0.8829 GB, free: 186.4 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.004088/1.111, allocations: 2.691 MB / 0.8855 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.111, allocations: 1 kB / 0.8855 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/1.112, allocations: 215.6 kB / 0.8857 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/1.113, allocations: 73.28 kB / 0.8858 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/1.113, allocations: 34.47 kB / 0.8858 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/1.114, allocations: 1.666 MB / 0.8875 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.114, allocations: 3.938 kB / 0.8875 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/1.117, allocations: 1.229 MB / 0.8887 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/1.117, allocations: 346.7 kB / 0.889 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.117, allocations: 23.88 kB / 0.889 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/1.118, allocations: 73.98 kB / 0.8891 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.118, allocations: 68.94 kB / 0.8892 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/1.118, allocations: 45.09 kB / 0.8892 GB, free: 182 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008883/1.119, allocations: 0.5903 MB / 0.8898 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.119, allocations: 4.375 kB / 0.8898 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001449/1.121, allocations: 462.4 kB / 0.8902 GB, free: 181.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.001718/1.122, allocations: 0.7039 MB / 0.8909 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002305/1.125, allocations: 1.078 MB / 0.892 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.125, allocations: 2.156 kB / 0.892 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.126, allocations: 0.63 MB / 0.8926 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.128, allocations: 0.5177 MB / 0.8931 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/1.133, allocations: 2.364 MB / 0.8954 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/1.134, allocations: 1.18 MB / 0.8965 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001402/1.135, allocations: 375.7 kB / 0.8969 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/1.136, allocations: 130.8 kB / 0.897 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of SimCode: time 9.22e-07/1.136, allocations: 0 / 0.897 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.03918/1.175, allocations: 23.08 MB / 0.9196 GB, free: 162.5 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 & ./IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)