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.0007962/0.0007965, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004816/0.004816, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.366/1.366, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.657/1.657, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004889/0.0004889, allocations: 19.05 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1938, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004285/0.1981, allocations: 3.478 MB / 0.7914 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2004, allocations: 1.703 MB / 0.7931 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2005, allocations: 8 kB / 0.7931 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.2007, allocations: 59.5 kB / 0.7931 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.2012, allocations: 219.1 kB / 0.7933 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.2016, allocations: 195.5 kB / 0.7935 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.2022, allocations: 0.6584 MB / 0.7942 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.2026, allocations: 306.4 kB / 0.7944 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2027, allocations: 155.3 kB / 0.7946 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.2031, allocations: 211.2 kB / 0.7948 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.2031, allocations: 12 kB / 0.7948 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.2035, allocations: 311.3 kB / 0.7951 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2036, allocations: 103.7 kB / 0.7952 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.2038, allocations: 184.9 kB / 0.7954 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.2042, allocations: 0.4946 MB / 0.7959 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2042, allocations: 3.938 kB / 0.7959 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2043, allocations: 0 / 0.7959 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2043, allocations: 0 / 0.7959 GB, free: 3.367 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.0007695/0.205, allocations: 0.5732 MB / 0.7964 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2051, allocations: 12.03 kB / 0.7964 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.2052, allocations: 70.72 kB / 0.7965 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.206, allocations: 136.4 kB / 0.7966 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.2063, allocations: 279.7 kB / 0.7969 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.2064, allocations: 29.02 kB / 0.7969 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.2064, allocations: 28.38 kB / 0.797 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.207, allocations: 459.7 kB / 0.7974 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.207, allocations: 7.938 kB / 0.7974 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.2071, allocations: 15.94 kB / 0.7974 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/0.2071, allocations: 32.55 kB / 0.7975 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.2076, allocations: 317.9 kB / 0.7978 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.2095, allocations: 2.193 MB / 0.7999 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.2099, allocations: 259.7 kB / 0.8001 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.2101, allocations: 112.8 kB / 0.8003 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.2101, allocations: 4 kB / 0.8003 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2101, allocations: 34.56 kB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.2102, allocations: 0 / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0005358/0.2107, allocations: 303.5 kB / 0.8006 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.2107, allocations: 55.41 kB / 0.8006 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.211, allocations: 274.5 kB / 0.8009 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.211, allocations: 29.7 kB / 0.8009 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2111, allocations: 195.9 kB / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.2112, allocations: 51.28 kB / 0.8012 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.2112, allocations: 29.72 kB / 0.8012 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2113, allocations: 334.8 kB / 0.8015 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/0.2114, allocations: 60.44 kB / 0.8016 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2116, allocations: 151.4 kB / 0.8017 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2118, allocations: 217.8 kB / 0.8019 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2118, allocations: 0 / 0.8019 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003815/0.2122, allocations: 273.8 kB / 0.8022 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2123, allocations: 4 kB / 0.8022 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2123, allocations: 4 kB / 0.8022 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.2124, allocations: 24.84 kB / 0.8022 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2126, allocations: 48.3 kB / 0.8023 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008846/0.2135, allocations: 1.319 MB / 0.8035 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2136, allocations: 31.84 kB / 0.8036 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.2137, allocations: 12 kB / 0.8036 GB, free: 10.79 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.0001326/0.2138, allocations: 161.8 kB / 0.8037 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.2139, allocations: 27.66 kB / 0.8038 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.2139, allocations: 25.83 kB / 0.8038 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2139, allocations: 4 kB / 0.8038 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2139, allocations: 0 / 0.8038 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2139, allocations: 0 / 0.8038 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008034/0.2147, allocations: 0.718 MB / 0.8045 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2148, allocations: 4.188 kB / 0.8045 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.2148, allocations: 23.94 kB / 0.8045 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.366e-05/0.2149, allocations: 28.83 kB / 0.8045 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2149, allocations: 7.938 kB / 0.8046 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008087/0.2158, allocations: 1.315 MB / 0.8058 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2158, allocations: 4.031 kB / 0.8058 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.2161, allocations: 324.2 kB / 0.8062 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.2162, allocations: 108.8 kB / 0.8063 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.2162, allocations: 8 kB / 0.8063 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2164, allocations: 15.98 kB / 0.8063 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.2164, allocations: 11.98 kB / 0.8063 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.2164, allocations: 4 kB / 0.8063 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001594/0.2166, allocations: 193.9 kB / 0.8065 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2166, allocations: 0 / 0.8065 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003584/0.2169, allocations: 83.69 kB / 0.8066 GB, free: 7.453 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.0005203/0.2175, allocations: 0.8507 MB / 0.8074 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.2179, allocations: 262.5 kB / 0.8076 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2179, allocations: 4 kB / 0.8076 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.2181, allocations: 187.7 kB / 0.8078 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.2186, allocations: 62.89 kB / 0.8079 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.2213, allocations: 2.854 MB / 0.8107 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.2216, allocations: 0.7947 MB / 0.8114 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.2217, allocations: 38.27 kB / 0.8115 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2218, allocations: 83.41 kB / 0.8116 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.2218, allocations: 4 kB / 0.8116 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.2363, allocations: 4.971 MB / 0.8164 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.2365, allocations: 219.8 kB / 0.8166 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.883, allocations: 0 / 0.8166 GB, free: 12.96 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)