Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.852/1.852, allocations: 288.2 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 179.7 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000896/0.000896, allocations: 102.8 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 10.06 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003733/0.2204, allocations: 3.25 MB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2225, allocations: 1.595 MB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.2228, allocations: 11.94 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.223, allocations: 55.67 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.2235, allocations: 159.4 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.224, allocations: 155.7 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.2242, allocations: 259.5 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.2246, allocations: 285.2 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2247, allocations: 135.5 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.2249, allocations: 143.4 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.225, allocations: 12 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.2252, allocations: 115.8 kB / 0.9855 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.2253, allocations: 99.72 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.2253, allocations: 85.52 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2256, allocations: 375.3 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.2257, allocations: 3.938 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2257, allocations: 0 / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2257, allocations: 0 / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007645/0.2264, allocations: 0.5769 MB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2265, allocations: 12.02 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.354e-05/0.2266, allocations: 70.53 kB / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008215/0.2274, allocations: 151.4 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.2277, allocations: 286.4 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2277, allocations: 20.66 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.2278, allocations: 24 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.2283, allocations: 459.6 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2283, allocations: 0 / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.2283, allocations: 12 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.2284, allocations: 32.55 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.2288, allocations: 329.8 kB / 0.9879 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.2303, allocations: 2.185 MB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.2306, allocations: 251.7 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.2307, allocations: 4 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2307, allocations: 38.8 kB / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.2307, allocations: 0 / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004856/0.2312, allocations: 308.9 kB / 0.9906 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.2312, allocations: 67.34 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.2314, allocations: 266.6 kB / 0.9909 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2314, allocations: 25.7 kB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.2315, allocations: 207.8 kB / 0.9912 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.2315, allocations: 51.3 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.2316, allocations: 4 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.2316, allocations: 330.8 kB / 0.9915 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.2317, allocations: 60.44 kB / 0.9916 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2318, allocations: 141.1 kB / 0.9917 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.2319, allocations: 79.92 kB / 0.9918 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2319, allocations: 0 / 0.9918 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003184/0.2322, allocations: 271.9 kB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2323, allocations: 8 kB / 0.9921 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2323, allocations: 96 / 0.9921 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.2324, allocations: 36.73 kB / 0.9921 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.2326, allocations: 51.91 kB / 0.9922 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/0.2333, allocations: 1.327 MB / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2335, allocations: 27.69 kB / 0.9935 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2335, allocations: 12 kB / 0.9935 GB, free: 12.6 MB / 0.6198 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.2336, allocations: 166 kB / 0.9936 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.2337, allocations: 23.72 kB / 0.9937 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.037e-05/0.2338, allocations: 29.83 kB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2338, allocations: 3.953 kB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2338, allocations: 0 / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2338, allocations: 4 kB / 0.9937 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.2344, allocations: 0.6311 MB / 0.9943 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2344, allocations: 4 kB / 0.9943 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/0.2345, allocations: 23.92 kB / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.002e-05/0.2346, allocations: 28.78 kB / 0.9944 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2346, allocations: 4 kB / 0.9944 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005949/0.2352, allocations: 1.319 MB / 0.9957 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2352, allocations: 4.281 kB / 0.9957 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2355, allocations: 362.3 kB / 0.996 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.2356, allocations: 116.8 kB / 0.9961 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.2356, allocations: 0 / 0.9961 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.2358, allocations: 15.98 kB / 0.9961 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.2358, allocations: 11.98 kB / 0.9962 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.2358, allocations: 4 kB / 0.9962 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001346/0.236, allocations: 190 kB / 0.9963 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.236, allocations: 0 / 0.9963 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003643/0.2363, allocations: 79.75 kB / 0.9964 GB, free: 9.309 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004651/0.2368, allocations: 1.163 MB / 0.9975 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.2372, allocations: 276.2 kB / 0.9978 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2372, allocations: 96 / 0.9978 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2374, allocations: 186.5 kB / 0.998 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.2378, allocations: 59.14 kB / 0.998 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.2397, allocations: 3.168 MB / 1.001 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.24, allocations: 0.7987 MB / 1.002 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.2401, allocations: 54.23 kB / 1.002 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2403, allocations: 79.41 kB / 1.002 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2403, allocations: 0 / 1.002 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.2552, allocations: 4.829 MB / 1.007 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.2554, allocations: 209.2 kB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.025, allocations: 0 / 1.007 GB, free: 14.42 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)