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) 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-master/package.mo", uses=false) 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: translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00635/0.00635, allocations: 110.3 kB / 15.74 MB, free: 6.453 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.001276/0.001276, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9747/0.9747, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5203/0.5216, allocations: 80.91 MB / 0.6646 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1997/0.7213, allocations: 175.8 MB / 0.8363 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.7398, allocations: 12.64 MB / 0.8487 GB, free: 4.535 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.7415, allocations: 31.81 kB / 0.8487 GB, free: 4.504 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7429, allocations: 448.7 kB / 0.8491 GB, free: 4.062 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.746, allocations: 0.9541 MB / 0.8501 GB, free: 3.105 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.7507, allocations: 1.834 MB / 0.8518 GB, free: 1.277 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003085/0.7538, allocations: 2.291 MB / 0.8541 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.7561, allocations: 1.578 MB / 0.8556 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.7598, allocations: 1.404 MB / 0.857 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009439/0.7607, allocations: 0.809 MB / 0.8578 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.7609, allocations: 160 kB / 0.8579 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.7637, allocations: 1.412 MB / 0.8593 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.7642, allocations: 462.6 kB / 0.8598 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.765, allocations: 0.8123 MB / 0.8606 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.769, allocations: 2.629 MB / 0.8631 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.769, allocations: 0 / 0.8631 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.833e-06/0.769, allocations: 0 / 0.8631 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.7691, allocations: 4 kB / 0.8631 GB, free: 5.684 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.003241/0.7723, allocations: 1.899 MB / 0.865 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7724, allocations: 8.031 kB / 0.865 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.7751, allocations: 405.6 kB / 0.8654 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.7767, allocations: 0.9918 MB / 0.8663 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/0.7768, allocations: 94.62 kB / 0.8664 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.777, allocations: 128 kB / 0.8666 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.7796, allocations: 1.46 MB / 0.868 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.7797, allocations: 0 / 0.868 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.7798, allocations: 59.94 kB / 0.868 GB, free: 480 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.7798, allocations: 39.94 kB / 0.8681 GB, free: 440 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3318/1.112, allocations: 1.526 MB / 0.8696 GB, free: 193.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 preOpt removeSimpleEquations (simulation): time 0.007129/1.119, allocations: 4.875 MB / 0.8743 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/1.121, allocations: 1.415 MB / 0.8757 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/1.122, allocations: 455.1 kB / 0.8761 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006723/1.123, allocations: 427 kB / 0.8765 GB, free: 189 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/1.124, allocations: 0.6176 MB / 0.8772 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.745e-06/1.124, allocations: 3.344 kB / 0.8772 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004038/1.128, allocations: 1.529 MB / 0.8786 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.128, allocations: 191.7 kB / 0.8788 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/1.129, allocations: 0.8534 MB / 0.8797 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/1.13, allocations: 51.95 kB / 0.8797 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/1.13, allocations: 0.5673 MB / 0.8803 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.13, allocations: 328 kB / 0.8806 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/1.13, allocations: 203.3 kB / 0.8808 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/1.131, allocations: 343.4 kB / 0.8811 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008268/1.131, allocations: 370.2 kB / 0.8815 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/1.132, allocations: 0.5313 MB / 0.882 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/1.134, allocations: 0.9005 MB / 0.8829 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.134, allocations: 0.9688 kB / 0.8829 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002519/1.136, allocations: 1.15 MB / 0.884 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.136, allocations: 8.219 kB / 0.884 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.136, allocations: 6.406 kB / 0.884 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/1.137, allocations: 87.14 kB / 0.8841 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.138, allocations: 243.1 kB / 0.8843 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/1.14, allocations: 1.646 MB / 0.8859 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.141, allocations: 120.5 kB / 0.886 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/1.141, allocations: 51.84 kB / 0.8861 GB, free: 182.4 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.000863/1.142, allocations: 324.8 kB / 0.8864 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/1.142, allocations: 123.5 kB / 0.8865 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/1.145, allocations: 1.332 MB / 0.8878 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.146, allocations: 11.06 kB / 0.8878 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.146, allocations: 0 / 0.8878 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.146, allocations: 5.078 kB / 0.8878 GB, free: 181.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.004008/1.15, allocations: 2.688 MB / 0.8904 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.15, allocations: 0 / 0.8904 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/1.151, allocations: 207.6 kB / 0.8906 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/1.151, allocations: 83.17 kB / 0.8907 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/1.151, allocations: 29.64 kB / 0.8908 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/1.153, allocations: 1.676 MB / 0.8924 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.153, allocations: 0 / 0.8924 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.155, allocations: 1.223 MB / 0.8936 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/1.156, allocations: 338.2 kB / 0.8939 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.156, allocations: 25.7 kB / 0.8939 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008598/1.157, allocations: 65.66 kB / 0.894 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.157, allocations: 82.92 kB / 0.8941 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/1.157, allocations: 45.81 kB / 0.8941 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008622/1.158, allocations: 0.5847 MB / 0.8947 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.158, allocations: 4 kB / 0.8947 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001467/1.159, allocations: 459.2 kB / 0.8951 GB, free: 176.4 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.001608/1.161, allocations: 0.7033 MB / 0.8958 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002286/1.163, allocations: 1.066 MB / 0.8969 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.163, allocations: 1.531 kB / 0.8969 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.164, allocations: 0.6425 MB / 0.8975 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.167, allocations: 0.513 MB / 0.898 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/1.172, allocations: 2.315 MB / 0.9002 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/1.172, allocations: 1.176 MB / 0.9014 GB, free: 172.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001235/1.173, allocations: 385 kB / 0.9018 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/1.174, allocations: 130.2 kB / 0.9019 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of SimCode: time 7.22e-07/1.174, allocations: 7.938 kB / 0.9019 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.03096/1.205, allocations: 23.08 MB / 0.9244 GB, free: 154 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)