Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor",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.001024/0.001024, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009745/0.0009745, allocations: 193.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.574/1.574, allocations: 292.3 MB / 0.5486 GB, free: 13.58 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.001668/0.001668, allocations: 68.7 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2046, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00468/0.2093, allocations: 3.856 MB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.2114, allocations: 1.719 MB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2115, allocations: 11.94 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.2126, allocations: 473.7 kB / 0.7889 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.2129, allocations: 199.1 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.2133, allocations: 195.6 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.2138, allocations: 482.4 kB / 0.7897 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.2142, allocations: 409.3 kB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2144, allocations: 183.4 kB / 0.7903 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2147, allocations: 227.1 kB / 0.7905 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.2147, allocations: 28 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.215, allocations: 255.4 kB / 0.7908 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.2151, allocations: 115.7 kB / 0.7909 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2153, allocations: 175.1 kB / 0.791 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.2157, allocations: 0.5179 MB / 0.7916 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2157, allocations: 4 kB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2158, allocations: 0 / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2158, allocations: 0 / 0.7916 GB, free: 4.977 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007892/0.2166, allocations: 0.6315 MB / 0.7922 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.2166, allocations: 8.031 kB / 0.7922 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.646e-05/0.2167, allocations: 66.72 kB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.2175, allocations: 132.3 kB / 0.7924 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.2178, allocations: 287.7 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2178, allocations: 17.03 kB / 0.7927 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.2178, allocations: 28.38 kB / 0.7927 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.2184, allocations: 467.7 kB / 0.7931 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2185, allocations: 3.938 kB / 0.7931 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.2185, allocations: 16 kB / 0.7932 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.2185, allocations: 28.55 kB / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.219, allocations: 321.9 kB / 0.7935 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.2208, allocations: 2.189 MB / 0.7956 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.2212, allocations: 255.8 kB / 0.7959 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2214, allocations: 112.8 kB / 0.796 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.2214, allocations: 0 / 0.796 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2214, allocations: 42.56 kB / 0.796 GB, free: 24 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.2214, allocations: 0 / 0.796 GB, free: 24 kB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005091/0.2219, allocations: 291.2 kB / 0.7963 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.222, allocations: 63.41 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.2222, allocations: 270.5 kB / 0.7966 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.2223, allocations: 25.7 kB / 0.7966 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2224, allocations: 207.8 kB / 0.7968 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.2224, allocations: 51.28 kB / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.2225, allocations: 49.94 kB / 0.7969 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2226, allocations: 330.8 kB / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.2227, allocations: 60.44 kB / 0.7973 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2229, allocations: 148 kB / 0.7974 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.2231, allocations: 226 kB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2232, allocations: 0 / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003617/0.2235, allocations: 266.1 kB / 0.7979 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2235, allocations: 4 kB / 0.7979 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.2236, allocations: 4 kB / 0.7979 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.2237, allocations: 24.94 kB / 0.7979 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2239, allocations: 59.84 kB / 0.798 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.2248, allocations: 1.414 MB / 0.7994 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2249, allocations: 31.84 kB / 0.7994 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.225, allocations: 8 kB / 0.7994 GB, free: 12.23 MB / 0.6231 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.2251, allocations: 173.6 kB / 0.7996 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2252, allocations: 23.72 kB / 0.7996 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.2252, allocations: 29.83 kB / 0.7996 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2252, allocations: 0 / 0.7996 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2252, allocations: 7.938 kB / 0.7996 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2252, allocations: 0 / 0.7996 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.226, allocations: 0.7025 MB / 0.8003 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.226, allocations: 192 / 0.8003 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.2261, allocations: 31.92 kB / 0.8004 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-05/0.2262, allocations: 28.78 kB / 0.8004 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.2262, allocations: 0 / 0.8004 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/0.227, allocations: 1.414 MB / 0.8018 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.227, allocations: 4.031 kB / 0.8018 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2273, allocations: 321.1 kB / 0.8021 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.2274, allocations: 116.8 kB / 0.8022 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.2275, allocations: 11.98 kB / 0.8022 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2276, allocations: 8 kB / 0.8022 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.2277, allocations: 15.92 kB / 0.8022 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2277, allocations: 7.938 kB / 0.8022 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001526/0.2278, allocations: 194 kB / 0.8024 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2278, allocations: 0 / 0.8024 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003365/0.2282, allocations: 79.75 kB / 0.8025 GB, free: 8.785 MB / 0.6231 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004874/0.2287, allocations: 0.85 MB / 0.8033 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.229, allocations: 279.1 kB / 0.8036 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.229, allocations: 0 / 0.8036 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.2292, allocations: 190.6 kB / 0.8038 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.2297, allocations: 66.19 kB / 0.8038 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.2322, allocations: 2.82 MB / 0.8066 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2325, allocations: 0.7985 MB / 0.8074 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.2326, allocations: 42.27 kB / 0.8074 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.2328, allocations: 83.41 kB / 0.8075 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2328, allocations: 0 / 0.8075 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.399/1.631, allocations: 5.194 MB / 0.8126 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.632, allocations: 213.3 kB / 0.8128 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/4.86, allocations: 3.938 kB / 0.8128 GB, free: 14.08 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)