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.005025/0.005025, allocations: 100.4 kB / 15.87 MB, free: 6.312 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.001255/0.001256, allocations: 196.9 kB / 16.79 MB, free: 6.242 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.242/1.242, allocations: 222.9 MB / 240.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7065/0.7065, allocations: 115.3 MB / 405.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 493 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3154, allocations: 76.18 MB / 0.5558 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1563/0.4718, allocations: 174.5 MB / 0.7262 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.4862, allocations: 12.84 MB / 0.7387 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.4874, allocations: 31.81 kB / 0.7388 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.4886, allocations: 373.5 kB / 0.7391 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.4913, allocations: 0.9283 MB / 0.74 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.4947, allocations: 1.666 MB / 0.7417 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.497, allocations: 2.876 MB / 0.7445 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.4986, allocations: 1.459 MB / 0.7459 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.5019, allocations: 1.269 MB / 0.7471 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.273/0.7749, allocations: 0.8536 MB / 0.748 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003964/0.7753, allocations: 90.56 kB / 0.7481 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.7781, allocations: 1.463 MB / 0.7495 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.7785, allocations: 416.5 kB / 0.7499 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008227/0.7793, allocations: 0.8002 MB / 0.7507 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.7829, allocations: 2.728 MB / 0.7533 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7829, allocations: 3 kB / 0.7533 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7829, allocations: 0 / 0.7533 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.451e-05/0.7829, allocations: 0.8125 kB / 0.7533 GB, free: 5.07 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.003505/0.7864, allocations: 2.033 MB / 0.7553 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7865, allocations: 13.44 kB / 0.7553 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002305/0.7867, allocations: 201.2 kB / 0.7555 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.7893, allocations: 412.8 kB / 0.7559 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.7907, allocations: 0.9844 MB / 0.7569 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.7908, allocations: 108 kB / 0.757 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.791, allocations: 136 kB / 0.7571 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.7935, allocations: 1.519 MB / 0.7586 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.7935, allocations: 2.109 kB / 0.7586 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.7937, allocations: 59.84 kB / 0.7587 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.7937, allocations: 38.03 kB / 0.7587 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.7964, allocations: 1.583 MB / 0.7602 GB, free: 3.328 MB / 0.5762 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.006029/0.8024, allocations: 5.325 MB / 0.7654 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.8047, allocations: 1.515 MB / 0.7669 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/0.8055, allocations: 486.1 kB / 0.7674 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.8063, allocations: 425.1 kB / 0.7678 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.8074, allocations: 0.7029 MB / 0.7685 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.296e-06/0.8074, allocations: 0.5312 kB / 0.7685 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.003957/0.8114, allocations: 1.662 MB / 0.7701 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.8115, allocations: 199.3 kB / 0.7703 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.8125, allocations: 0.898 MB / 0.7712 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/0.8126, allocations: 46.55 kB / 0.7712 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.813, allocations: 0.593 MB / 0.7718 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.8132, allocations: 356.2 kB / 0.7721 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.8135, allocations: 196.4 kB / 0.7723 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8136, allocations: 345.8 kB / 0.7726 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.8143, allocations: 378.1 kB / 0.773 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.8151, allocations: 0.5596 MB / 0.7735 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.8167, allocations: 0.9323 MB / 0.7745 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8167, allocations: 0.5 kB / 0.7745 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002375/0.819, allocations: 1.188 MB / 0.7756 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8191, allocations: 8.406 kB / 0.7756 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8191, allocations: 2.25 kB / 0.7756 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.8196, allocations: 89.02 kB / 0.7757 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.8206, allocations: 244.8 kB / 0.7759 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.8225, allocations: 1.536 MB / 0.7774 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.8235, allocations: 154.2 kB / 0.7776 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.8236, allocations: 46.5 kB / 0.7776 GB, free: 12.67 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.000462/0.824, allocations: 336.5 kB / 0.778 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.8243, allocations: 127.6 kB / 0.7781 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.8271, allocations: 1.435 MB / 0.7795 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.8271, allocations: 13.66 kB / 0.7795 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.8271, allocations: 0 / 0.7795 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8271, allocations: 10.23 kB / 0.7795 GB, free: 12.36 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.004091/0.8312, allocations: 2.886 MB / 0.7823 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8313, allocations: 0.5625 kB / 0.7823 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009269/0.8322, allocations: 216.5 kB / 0.7825 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/0.8327, allocations: 98.61 kB / 0.7826 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.8328, allocations: 31.78 kB / 0.7827 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.8344, allocations: 1.564 MB / 0.7842 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8345, allocations: 4.062 kB / 0.7842 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.8369, allocations: 1.324 MB / 0.7855 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.8374, allocations: 359.9 kB / 0.7858 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.8375, allocations: 25.38 kB / 0.7858 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.8386, allocations: 105.2 kB / 0.7859 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.8388, allocations: 89.22 kB / 0.786 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.8389, allocations: 47.27 kB / 0.7861 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007199/0.8396, allocations: 0.6183 MB / 0.7867 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.042e-06/0.8396, allocations: 4 kB / 0.7867 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001385/0.841, allocations: 494 kB / 0.7872 GB, free: 9.918 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.004089/0.8451, allocations: 2.481 MB / 0.7896 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.8471, allocations: 1.116 MB / 0.7907 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8471, allocations: 3.906 kB / 0.7907 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.8482, allocations: 0.6774 MB / 0.7913 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.8502, allocations: 0.4905 MB / 0.7918 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.8654, allocations: 9.989 MB / 0.8016 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.8662, allocations: 1.21 MB / 0.8028 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001443/0.8677, allocations: 387 kB / 0.8031 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.8683, allocations: 0.5711 MB / 0.8037 GB, free: 4 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.8684, allocations: 4 kB / 0.8037 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/0.9166, allocations: 32.52 MB / 0.8354 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.9169, allocations: 290.1 kB / 0.8357 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.64, allocations: 2.672 kB / 0.8357 GB, free: 11.55 MB / 0.6231 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)