Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_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.00169/0.00169, allocations: 104.3 kB / 16.27 MB, free: 6.41 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.002056/0.002056, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8001/0.8001, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 55.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1722/0.5002, allocations: 176.8 MB / 0.7399 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3584/0.8586, allocations: 12.8 MB / 0.7524 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.8605, allocations: 30.88 kB / 0.7524 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.862, allocations: 473.7 kB / 0.7529 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.8653, allocations: 1.027 MB / 0.7539 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004905/0.8702, allocations: 1.861 MB / 0.7557 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004881/0.8751, allocations: 2.521 MB / 0.7582 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.878, allocations: 1.6 MB / 0.7597 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005169/0.8832, allocations: 1.415 MB / 0.7611 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.8851, allocations: 0.8825 MB / 0.762 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.8856, allocations: 173.2 kB / 0.7621 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004954/0.8905, allocations: 1.398 MB / 0.7635 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006724/0.8912, allocations: 497.3 kB / 0.764 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.8928, allocations: 0.872 MB / 0.7648 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00466/0.8974, allocations: 2.753 MB / 0.7675 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8974, allocations: 0.9688 kB / 0.7675 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8975, allocations: 4 kB / 0.7675 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.987e-05/0.8975, allocations: 0 / 0.7675 GB, free: 1.324 MB / 0.5762 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.003618/0.9011, allocations: 2.036 MB / 0.7695 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.9012, allocations: 10.19 kB / 0.7695 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.9014, allocations: 204.6 kB / 0.7697 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.904, allocations: 401 kB / 0.7701 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.9055, allocations: 0.9972 MB / 0.7711 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.9056, allocations: 104 kB / 0.7712 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.9057, allocations: 132.6 kB / 0.7713 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.9082, allocations: 1.521 MB / 0.7728 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.9082, allocations: 1.594 kB / 0.7728 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.9084, allocations: 63.17 kB / 0.7728 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.9084, allocations: 32.91 kB / 0.7729 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.9107, allocations: 1.582 MB / 0.7744 GB, free: 15.58 MB / 0.5919 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.006424/0.9172, allocations: 5.358 MB / 0.7797 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.9195, allocations: 1.518 MB / 0.7811 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.9203, allocations: 487.1 kB / 0.7816 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.921, allocations: 425.5 kB / 0.782 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.922, allocations: 0.6922 MB / 0.7827 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.922, allocations: 0 / 0.7827 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.003971/0.926, allocations: 1.665 MB / 0.7843 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.9261, allocations: 198.7 kB / 0.7845 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/0.9271, allocations: 0.8851 MB / 0.7854 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.9272, allocations: 49.36 kB / 0.7854 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.9276, allocations: 0.599 MB / 0.786 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.9279, allocations: 354.2 kB / 0.7863 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.9282, allocations: 198.8 kB / 0.7865 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9283, allocations: 341.8 kB / 0.7868 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.929, allocations: 376.8 kB / 0.7872 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008981/0.9299, allocations: 0.5659 MB / 0.7878 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.9316, allocations: 0.9332 MB / 0.7887 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.9316, allocations: 3.188 kB / 0.7887 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002776/0.9344, allocations: 1.184 MB / 0.7898 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.9345, allocations: 5.938 kB / 0.7898 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9345, allocations: 2.406 kB / 0.7898 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.9351, allocations: 91.08 kB / 0.7899 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.9362, allocations: 243.5 kB / 0.7902 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.9383, allocations: 1.655 MB / 0.7918 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.9395, allocations: 131.7 kB / 0.7919 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/0.9396, allocations: 47.91 kB / 0.7919 GB, free: 8.875 MB / 0.5919 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.0006625/0.9403, allocations: 349.7 kB / 0.7923 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.9406, allocations: 127.5 kB / 0.7924 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.9435, allocations: 1.428 MB / 0.7938 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.9436, allocations: 14.03 kB / 0.7938 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9436, allocations: 4 kB / 0.7938 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9436, allocations: 5.719 kB / 0.7938 GB, free: 8.578 MB / 0.5919 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.004408/0.948, allocations: 2.874 MB / 0.7966 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.948, allocations: 0.7812 kB / 0.7966 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009497/0.949, allocations: 219.1 kB / 0.7968 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.9494, allocations: 74.97 kB / 0.7969 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.9495, allocations: 32.83 kB / 0.7969 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.9513, allocations: 1.671 MB / 0.7986 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9514, allocations: 0 / 0.7986 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.954, allocations: 1.326 MB / 0.7999 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/0.9546, allocations: 353.9 kB / 0.8002 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.9548, allocations: 26.78 kB / 0.8002 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/0.9557, allocations: 79.05 kB / 0.8003 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.9559, allocations: 84.42 kB / 0.8004 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.956, allocations: 58.05 kB / 0.8004 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007543/0.9568, allocations: 0.6217 MB / 0.801 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9568, allocations: 0 / 0.801 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001252/0.9581, allocations: 0.4933 MB / 0.8015 GB, free: 6.074 MB / 0.5919 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.004282/0.9623, allocations: 2.478 MB / 0.8039 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003323/0.9657, allocations: 1.436 MB / 0.8054 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9657, allocations: 2.219 kB / 0.8054 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.9669, allocations: 0.6816 MB / 0.806 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.9693, allocations: 0.536 MB / 0.8065 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.9848, allocations: 9.43 MB / 0.8157 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008543/0.9857, allocations: 1.208 MB / 0.8169 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001647/0.9873, allocations: 391.5 kB / 0.8173 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007461/0.9881, allocations: 0.5667 MB / 0.8179 GB, free: 428 kB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.9881, allocations: 2.906 kB / 0.8179 GB, free: 428 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07036/1.058, allocations: 33.66 MB / 0.8507 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.84, allocations: 7.938 kB / 0.8507 GB, free: 15.73 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)