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.829/1.829, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.001068/0.001068, allocations: 184.5 kB / 372 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.525/1.525, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008038/0.0008036, allocations: 98.23 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 10.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003864/0.2175, allocations: 3.331 MB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.2198, allocations: 1.622 MB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.2201, allocations: 4 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2204, allocations: 63.44 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.221, allocations: 179.2 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.2215, allocations: 147.6 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.2221, allocations: 0.5334 MB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.2225, allocations: 289.2 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.2227, allocations: 155.4 kB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.2231, allocations: 199.3 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.2232, allocations: 16 kB / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.2235, allocations: 115.8 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2236, allocations: 107.7 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.2237, allocations: 81.58 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.224, allocations: 387.2 kB / 0.9867 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2241, allocations: 0 / 0.9867 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2241, allocations: 4 kB / 0.9867 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.2241, allocations: 0 / 0.9867 GB, free: 20.36 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.0008613/0.2249, allocations: 0.573 MB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.225, allocations: 12.02 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.86e-05/0.2251, allocations: 74.53 kB / 0.9873 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/0.2259, allocations: 135.5 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.2262, allocations: 290.4 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2263, allocations: 20.66 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.2263, allocations: 24 kB / 0.9878 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.2269, allocations: 455.6 kB / 0.9882 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2269, allocations: 3.938 kB / 0.9882 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2269, allocations: 12 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.227, allocations: 40.53 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.2274, allocations: 317.9 kB / 0.9885 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.229, allocations: 2.193 MB / 0.9907 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.2293, allocations: 247.8 kB / 0.9909 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.2295, allocations: 112.8 kB / 0.991 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2295, allocations: 4 kB / 0.991 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.2296, allocations: 38.55 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.764e-06/0.2296, allocations: 0 / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004963/0.2301, allocations: 300.4 kB / 0.9914 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.2301, allocations: 55.61 kB / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.2303, allocations: 266.6 kB / 0.9917 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2303, allocations: 37.62 kB / 0.9917 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.2304, allocations: 203.8 kB / 0.9919 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.2305, allocations: 47.28 kB / 0.9919 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-06/0.2305, allocations: 8 kB / 0.9919 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.2305, allocations: 334.8 kB / 0.9923 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.2306, allocations: 56.44 kB / 0.9923 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2307, allocations: 149.9 kB / 0.9925 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.2308, allocations: 75.97 kB / 0.9925 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2308, allocations: 0 / 0.9925 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003281/0.2312, allocations: 272.5 kB / 0.9928 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2312, allocations: 8 kB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2312, allocations: 3.984 kB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.2314, allocations: 32.89 kB / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.2316, allocations: 60.3 kB / 0.9929 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006794/0.2322, allocations: 1.312 MB / 0.9942 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.2324, allocations: 27.75 kB / 0.9942 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2324, allocations: 16 kB / 0.9942 GB, free: 11.99 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0001319/0.2326, allocations: 161.8 kB / 0.9944 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.2326, allocations: 23.72 kB / 0.9944 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.2327, allocations: 29.78 kB / 0.9944 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2327, allocations: 4 kB / 0.9944 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2327, allocations: 0 / 0.9944 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2327, allocations: 0 / 0.9944 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.2334, allocations: 0.7065 MB / 0.9951 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2334, allocations: 8.016 kB / 0.9951 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.991e-05/0.2335, allocations: 20 kB / 0.9951 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.229e-05/0.2336, allocations: 28.78 kB / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2336, allocations: 0 / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005831/0.2342, allocations: 1.312 MB / 0.9965 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2342, allocations: 7.922 kB / 0.9965 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.2344, allocations: 321.2 kB / 0.9968 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.2345, allocations: 116.8 kB / 0.9969 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2346, allocations: 8 kB / 0.9969 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2347, allocations: 12 kB / 0.9969 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.2348, allocations: 19.88 kB / 0.9969 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.2348, allocations: 8 kB / 0.9969 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001598/0.2349, allocations: 186 kB / 0.9971 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2349, allocations: 0 / 0.9971 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003401/0.2353, allocations: 79.84 kB / 0.9972 GB, free: 8.664 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0004363/0.2357, allocations: 0.8506 MB / 0.998 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.2361, allocations: 271.8 kB / 0.9983 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2362, allocations: 0 / 0.9983 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.2363, allocations: 195.7 kB / 0.9985 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.2368, allocations: 49.28 kB / 0.9985 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.2385, allocations: 1.516 MB / 1 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.2388, allocations: 0.795 MB / 1.001 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.2389, allocations: 38.27 kB / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.239, allocations: 83.41 kB / 1.001 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.239, allocations: 4 kB / 1.001 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.2556, allocations: 4.934 MB / 1.006 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.2559, allocations: 210.4 kB / 1.006 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.101, allocations: 3.938 kB / 1.006 GB, free: 15.68 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)