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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006486/0.006486, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001253/0.001253, allocations: 194.1 kB / 16.67 MB, free: 5.973 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7967/0.7967, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.77 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2279, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6354/0.8633, allocations: 175.8 MB / 0.8309 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.8799, allocations: 12.63 MB / 0.8432 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.8819, allocations: 30.78 kB / 0.8432 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.8837, allocations: 457.8 kB / 0.8437 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.8876, allocations: 0.9542 MB / 0.8446 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005683/0.8933, allocations: 1.842 MB / 0.8464 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003608/0.8969, allocations: 2.286 MB / 0.8486 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.8993, allocations: 1.592 MB / 0.8502 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.9037, allocations: 1.397 MB / 0.8515 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.9051, allocations: 0.8034 MB / 0.8523 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.9054, allocations: 158.2 kB / 0.8525 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.9089, allocations: 1.414 MB / 0.8539 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.9095, allocations: 479.8 kB / 0.8543 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.9105, allocations: 0.7941 MB / 0.8551 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.9151, allocations: 2.633 MB / 0.8577 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9151, allocations: 0.75 kB / 0.8577 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9151, allocations: 0 / 0.8577 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.543e-05/0.9152, allocations: 0.9688 kB / 0.8577 GB, free: 1.715 MB / 0.6387 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.002839/0.918, allocations: 1.912 MB / 0.8595 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.9181, allocations: 6.688 kB / 0.8595 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.9183, allocations: 198.3 kB / 0.8597 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.9207, allocations: 405.9 kB / 0.8601 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.922, allocations: 1.002 MB / 0.8611 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.9221, allocations: 97.09 kB / 0.8612 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.9223, allocations: 132.1 kB / 0.8613 GB, free: 256 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.9243, allocations: 1.454 MB / 0.8627 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.9244, allocations: 6.469 kB / 0.8627 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.9245, allocations: 56.16 kB / 0.8628 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.9245, allocations: 30.75 kB / 0.8628 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.9267, allocations: 1.535 MB / 0.8643 GB, free: 12 kB / 0.6387 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.006261/0.933, allocations: 4.874 MB / 0.8691 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.9353, allocations: 1.418 MB / 0.8705 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.936, allocations: 449.7 kB / 0.8709 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007348/0.9367, allocations: 421.7 kB / 0.8713 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.9378, allocations: 0.6238 MB / 0.8719 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 2.805e-06/0.9378, allocations: 0 / 0.8719 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.003661/0.9415, allocations: 1.537 MB / 0.8734 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.9416, allocations: 192.2 kB / 0.8736 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.9427, allocations: 0.847 MB / 0.8744 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.9429, allocations: 47.73 kB / 0.8745 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.9434, allocations: 0.5726 MB / 0.875 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.9437, allocations: 330.7 kB / 0.8753 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.9439, allocations: 183.2 kB / 0.8755 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9441, allocations: 350.7 kB / 0.8758 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.9447, allocations: 344.8 kB / 0.8762 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007865/0.9455, allocations: 0.5281 MB / 0.8767 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.947, allocations: 0.8769 MB / 0.8775 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.947, allocations: 3.406 kB / 0.8775 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002382/0.9494, allocations: 1.1 MB / 0.8786 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.9494, allocations: 7.375 kB / 0.8786 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9495, allocations: 4.125 kB / 0.8786 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/0.95, allocations: 91.08 kB / 0.8787 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/0.951, allocations: 223.9 kB / 0.8789 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.9531, allocations: 1.646 MB / 0.8805 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.9542, allocations: 122.5 kB / 0.8807 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/0.9543, allocations: 40.75 kB / 0.8807 GB, free: 8.496 MB / 0.6544 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.0007005/0.955, allocations: 329.2 kB / 0.881 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.9553, allocations: 116.2 kB / 0.8811 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.9581, allocations: 1.327 MB / 0.8824 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.9581, allocations: 11.97 kB / 0.8824 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.9581, allocations: 7.875 kB / 0.8824 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.9581, allocations: 7.172 kB / 0.8824 GB, free: 7.703 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 postOpt removeSimpleEquations (simulation): time 0.004529/0.9626, allocations: 2.698 MB / 0.8851 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.9627, allocations: 0 / 0.8851 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/0.9636, allocations: 214.5 kB / 0.8853 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.9641, allocations: 79.97 kB / 0.8854 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/0.9641, allocations: 26.2 kB / 0.8854 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.966, allocations: 1.678 MB / 0.887 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.966, allocations: 0 / 0.887 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.9687, allocations: 1.229 MB / 0.8882 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/0.9694, allocations: 335.2 kB / 0.8885 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.9696, allocations: 27.25 kB / 0.8886 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.9704, allocations: 69.17 kB / 0.8886 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.9706, allocations: 70.39 kB / 0.8887 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.9707, allocations: 46.19 kB / 0.8887 GB, free: 4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000911/0.9716, allocations: 0.5912 MB / 0.8893 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9716, allocations: 0 / 0.8893 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001576/0.9732, allocations: 455 kB / 0.8898 GB, free: 3.621 MB / 0.6544 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.004306/0.9775, allocations: 2.372 MB / 0.8921 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.9797, allocations: 1.04 MB / 0.8931 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.9797, allocations: 2.75 kB / 0.8931 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.9808, allocations: 0.6416 MB / 0.8937 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.983, allocations: 0.5096 MB / 0.8942 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.9982, allocations: 8.497 MB / 0.9025 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/0.999, allocations: 1.178 MB / 0.9037 GB, free: 9.953 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001348/1, allocations: 379.8 kB / 0.904 GB, free: 9.586 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/1.001, allocations: 0.5305 MB / 0.9045 GB, free: 9.055 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/1.001, allocations: 0 / 0.9045 GB, free: 9.055 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07075/1.072, allocations: 31.97 MB / 0.9358 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14, allocations: 6.172 kB / 0.9358 GB, free: 9.578 MB / 0.7012 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)