Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",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.0007939/0.000794, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008506/0.000851, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008344/0.0008344, allocations: 17.28 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2983, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007674/0.306, allocations: 3.814 MB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004299/0.3104, allocations: 1.743 MB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.3109, allocations: 4 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.3113, allocations: 75.41 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.3124, allocations: 202.9 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.3133, allocations: 190.5 kB / 0.7933 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3145, allocations: 0.6775 MB / 0.7939 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007587/0.3153, allocations: 403.2 kB / 0.7943 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.3158, allocations: 195.2 kB / 0.7945 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008303/0.3167, allocations: 251.1 kB / 0.7947 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.3168, allocations: 20 kB / 0.7948 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.3174, allocations: 127.8 kB / 0.7949 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3176, allocations: 119.7 kB / 0.795 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3178, allocations: 101.5 kB / 0.7951 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007912/0.3186, allocations: 459.1 kB / 0.7955 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3186, allocations: 0 / 0.7955 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3187, allocations: 4 kB / 0.7955 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.3187, allocations: 4 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001611/0.3203, allocations: 0.6665 MB / 0.7962 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3204, allocations: 8.031 kB / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.3205, allocations: 74.52 kB / 0.7963 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3216, allocations: 155.3 kB / 0.7964 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.3221, allocations: 325.3 kB / 0.7967 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3222, allocations: 25 kB / 0.7968 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.3222, allocations: 36 kB / 0.7968 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.3231, allocations: 0.5197 MB / 0.7973 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3231, allocations: 11.98 kB / 0.7973 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.3232, allocations: 16 kB / 0.7973 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/0.3233, allocations: 32.64 kB / 0.7974 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.3239, allocations: 386.2 kB / 0.7977 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.3268, allocations: 2.403 MB / 0.8001 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.3273, allocations: 274.6 kB / 0.8003 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3275, allocations: 112.8 kB / 0.8004 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3276, allocations: 0 / 0.8004 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3276, allocations: 38.56 kB / 0.8005 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.3276, allocations: 0 / 0.8005 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002139/0.3298, allocations: 1.121 MB / 0.8016 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3298, allocations: 59.41 kB / 0.8016 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.3301, allocations: 300.4 kB / 0.8019 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3302, allocations: 25.7 kB / 0.8019 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3303, allocations: 235.6 kB / 0.8022 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.3304, allocations: 78.84 kB / 0.8022 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.3304, allocations: 8 kB / 0.8022 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3306, allocations: 338.8 kB / 0.8026 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3307, allocations: 96.59 kB / 0.8027 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.331, allocations: 195.7 kB / 0.8028 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.3312, allocations: 133.1 kB / 0.803 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3312, allocations: 4 kB / 0.803 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007289/0.3319, allocations: 438.2 kB / 0.8034 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.332, allocations: 10.81 kB / 0.8034 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.332, allocations: 7.953 kB / 0.8034 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.3323, allocations: 98.44 kB / 0.8035 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.3326, allocations: 63.97 kB / 0.8036 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.3358, allocations: 4.072 MB / 0.8075 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3361, allocations: 8 kB / 0.8076 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.3361, allocations: 16 kB / 0.8076 GB, free: 6.113 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.3363, allocations: 182.5 kB / 0.8077 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.3364, allocations: 35.58 kB / 0.8078 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.19e-05/0.3365, allocations: 38.31 kB / 0.8078 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3365, allocations: 0 / 0.8078 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3365, allocations: 4 kB / 0.8078 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3365, allocations: 3.984 kB / 0.8078 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.337, allocations: 397.4 kB / 0.8082 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.337, allocations: 7.938 kB / 0.8082 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3372, allocations: 31.98 kB / 0.8082 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.3375, allocations: 94.45 kB / 0.8083 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3376, allocations: 3.938 kB / 0.8083 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003058/0.3406, allocations: 4.064 MB / 0.8123 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3407, allocations: 0 / 0.8123 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.3415, allocations: 0.5546 MB / 0.8128 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.3417, allocations: 120.8 kB / 0.813 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.3417, allocations: 7.953 kB / 0.813 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3419, allocations: 15.98 kB / 0.813 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.342, allocations: 19.98 kB / 0.813 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.342, allocations: 8 kB / 0.813 GB, free: 32 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002497/0.3423, allocations: 207.1 kB / 0.8132 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3423, allocations: 0 / 0.8132 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004958/0.3428, allocations: 100 kB / 0.8133 GB, free: 15.73 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.3439, allocations: 1.1 MB / 0.8144 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009412/0.3449, allocations: 0.6057 MB / 0.815 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3449, allocations: 4 kB / 0.815 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.3455, allocations: 475.4 kB / 0.8154 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.346, allocations: 79.3 kB / 0.8155 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.3496, allocations: 2.075 MB / 0.8175 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.3503, allocations: 0.8309 MB / 0.8183 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000296/0.3506, allocations: 54.94 kB / 0.8184 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.3508, allocations: 107.4 kB / 0.8185 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/0.3509, allocations: 4 kB / 0.8185 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.3737, allocations: 7.113 MB / 0.8254 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.3739, allocations: 199 kB / 0.8256 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.386, allocations: 7.938 kB / 0.8256 GB, free: 3.023 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) Environment - environmentSimulation: