Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Resistance,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_Resistance",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.001393/0.001392, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001646/0.001646, allocations: 177.3 kB / 15.94 MB, free: 228 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.936/1.936, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.896/1.896, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005494/0.0005494, allocations: 15.25 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2874, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003548/0.291, allocations: 2.595 MB / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2929, allocations: 1.221 MB / 0.791 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.2931, allocations: 4 kB / 0.791 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2932, allocations: 39.75 kB / 0.791 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.2936, allocations: 99.62 kB / 0.7911 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.2939, allocations: 107.7 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.2941, allocations: 163.7 kB / 0.7914 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.2945, allocations: 215.9 kB / 0.7916 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2946, allocations: 75.77 kB / 0.7916 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.2949, allocations: 107.6 kB / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.2949, allocations: 12 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.2951, allocations: 75.89 kB / 0.7918 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.2952, allocations: 63.81 kB / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.2952, allocations: 65.52 kB / 0.7919 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.2955, allocations: 247.6 kB / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2956, allocations: 0 / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2956, allocations: 4 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2956, allocations: 0 / 0.7922 GB, free: 6.773 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007377/0.2963, allocations: 486.9 kB / 0.7926 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2964, allocations: 11.97 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.2964, allocations: 54.55 kB / 0.7927 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.297, allocations: 87.69 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.2974, allocations: 246.6 kB / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2974, allocations: 16.38 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.2974, allocations: 16 kB / 0.7931 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.2979, allocations: 298.8 kB / 0.7933 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2979, allocations: 3.938 kB / 0.7933 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.2979, allocations: 4 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.298, allocations: 24.31 kB / 0.7934 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.2983, allocations: 197 kB / 0.7936 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.2999, allocations: 1.46 MB / 0.795 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.3001, allocations: 171.7 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.3002, allocations: 0 / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3002, allocations: 38.5 kB / 0.7952 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3002, allocations: 0 / 0.7952 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004869/0.3007, allocations: 231.5 kB / 0.7954 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3007, allocations: 55.41 kB / 0.7955 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.3009, allocations: 196.2 kB / 0.7956 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.301, allocations: 25.7 kB / 0.7957 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3011, allocations: 167.5 kB / 0.7958 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3011, allocations: 23.7 kB / 0.7959 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.3011, allocations: 0 / 0.7959 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3013, allocations: 326.8 kB / 0.7962 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.3013, allocations: 31.98 kB / 0.7962 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3015, allocations: 96.56 kB / 0.7963 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.548e-05/0.3016, allocations: 59.92 kB / 0.7963 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3016, allocations: 0 / 0.7963 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002892/0.3019, allocations: 190.2 kB / 0.7965 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3019, allocations: 18.64 kB / 0.7965 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3019, allocations: 0 / 0.7965 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.3021, allocations: 20.84 kB / 0.7966 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3022, allocations: 35.98 kB / 0.7966 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3033, allocations: 1.331 MB / 0.7979 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3035, allocations: 15.88 kB / 0.7979 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3035, allocations: 8 kB / 0.7979 GB, free: 328 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001715/0.3037, allocations: 138 kB / 0.7981 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.3037, allocations: 23.77 kB / 0.7981 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.3038, allocations: 21.39 kB / 0.7981 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3038, allocations: 0 / 0.7981 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3038, allocations: 4 kB / 0.7981 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3038, allocations: 0 / 0.7981 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.3043, allocations: 447.2 kB / 0.7985 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3044, allocations: 0 / 0.7985 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.3044, allocations: 8 kB / 0.7985 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-05/0.3045, allocations: 28.78 kB / 0.7986 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3045, allocations: 4 kB / 0.7986 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009719/0.3055, allocations: 1.319 MB / 0.7999 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3055, allocations: 0 / 0.7999 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.3057, allocations: 216.2 kB / 0.8001 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.3058, allocations: 96.91 kB / 0.8002 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3059, allocations: 8 kB / 0.8002 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.306, allocations: 8.188 kB / 0.8002 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.306, allocations: 4 kB / 0.8002 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.306, allocations: 0 / 0.8002 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001202/0.3061, allocations: 148.1 kB / 0.8003 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.734e-06/0.3062, allocations: 0 / 0.8003 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003395/0.3065, allocations: 63.73 kB / 0.8004 GB, free: 13.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0008086/0.3073, allocations: 0.7332 MB / 0.8011 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.3077, allocations: 202.5 kB / 0.8013 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3077, allocations: 288 / 0.8013 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3079, allocations: 155.2 kB / 0.8014 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3082, allocations: 44.19 kB / 0.8015 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3103, allocations: 2.381 MB / 0.8038 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3106, allocations: 0.7514 MB / 0.8045 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.3108, allocations: 25.53 kB / 0.8046 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3109, allocations: 51.42 kB / 0.8046 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.3109, allocations: 0 / 0.8046 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.3268, allocations: 3.325 MB / 0.8079 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.3271, allocations: 194.6 kB / 0.808 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.388, allocations: 0 / 0.808 GB, free: 5.664 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) Environment - environmentSimulation: