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.0008254/0.0008254, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009539/0.0009539, allocations: 168.7 kB / 15.95 MB, free: 204 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.47/1.47, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.895/1.895, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.000942/0.0009421, allocations: 17.28 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2786, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004404/0.283, allocations: 3.339 MB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.2858, allocations: 1.626 MB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/0.2861, allocations: 4 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.2864, allocations: 63.48 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.287, allocations: 171.2 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.2877, allocations: 147.6 kB / 0.7926 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.2884, allocations: 0.5334 MB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.2889, allocations: 281.2 kB / 0.7934 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.2892, allocations: 163.4 kB / 0.7936 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.2897, allocations: 203.3 kB / 0.7938 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.2897, allocations: 16 kB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.29, allocations: 119.8 kB / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2902, allocations: 103.7 kB / 0.794 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.2903, allocations: 81.58 kB / 0.7941 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.2907, allocations: 383.2 kB / 0.7944 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2907, allocations: 3.938 kB / 0.7944 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2907, allocations: 0 / 0.7944 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2907, allocations: 0 / 0.7944 GB, free: 4.559 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.0008789/0.2916, allocations: 0.573 MB / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2916, allocations: 8.031 kB / 0.795 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.678e-05/0.2917, allocations: 74.52 kB / 0.7951 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.2926, allocations: 143.4 kB / 0.7952 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.293, allocations: 282.4 kB / 0.7955 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.2931, allocations: 16.66 kB / 0.7955 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.2931, allocations: 31.94 kB / 0.7955 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.2939, allocations: 463.6 kB / 0.796 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2939, allocations: 3.938 kB / 0.796 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.2939, allocations: 12 kB / 0.796 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/0.294, allocations: 28.55 kB / 0.796 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.2945, allocations: 321.9 kB / 0.7963 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.2968, allocations: 2.193 MB / 0.7985 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.2972, allocations: 251.9 kB / 0.7987 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2975, allocations: 112.8 kB / 0.7988 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2975, allocations: 4 kB / 0.7988 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2975, allocations: 34.55 kB / 0.7988 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.2975, allocations: 0 / 0.7988 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0005979/0.2981, allocations: 303.5 kB / 0.7991 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.2982, allocations: 55.36 kB / 0.7992 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.2985, allocations: 274.5 kB / 0.7994 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2985, allocations: 25.7 kB / 0.7995 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2986, allocations: 203.8 kB / 0.7997 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.2987, allocations: 51.28 kB / 0.7997 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.2987, allocations: 4 kB / 0.7997 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2988, allocations: 330.8 kB / 0.8 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.2989, allocations: 56.44 kB / 0.8001 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2991, allocations: 148 kB / 0.8002 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2992, allocations: 79.97 kB / 0.8003 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2992, allocations: 0 / 0.8003 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004043/0.2996, allocations: 272.8 kB / 0.8006 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2997, allocations: 8 kB / 0.8006 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2997, allocations: 0 / 0.8006 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.2998, allocations: 32.8 kB / 0.8006 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3, allocations: 47.92 kB / 0.8006 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.3011, allocations: 1.316 MB / 0.8019 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3012, allocations: 31.52 kB / 0.802 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3013, allocations: 12 kB / 0.802 GB, free: 12.19 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 (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.0001598/0.3014, allocations: 165.9 kB / 0.8021 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.3015, allocations: 23.72 kB / 0.8022 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.3016, allocations: 33.88 kB / 0.8022 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3016, allocations: 7.938 kB / 0.8022 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3016, allocations: 0 / 0.8022 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3016, allocations: 0 / 0.8022 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.3025, allocations: 0.7063 MB / 0.8029 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3025, allocations: 0 / 0.8029 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.805e-05/0.3026, allocations: 24 kB / 0.8029 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.038e-05/0.3027, allocations: 25.03 kB / 0.8029 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3027, allocations: 7.984 kB / 0.8029 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000926/0.3037, allocations: 1.319 MB / 0.8042 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3037, allocations: 3.938 kB / 0.8042 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.304, allocations: 321.1 kB / 0.8045 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3041, allocations: 108.8 kB / 0.8046 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3042, allocations: 8 kB / 0.8046 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3043, allocations: 11.98 kB / 0.8047 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3044, allocations: 19.94 kB / 0.8047 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3044, allocations: 8 kB / 0.8047 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001825/0.3046, allocations: 182 kB / 0.8049 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3046, allocations: 0 / 0.8049 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004104/0.305, allocations: 79.84 kB / 0.8049 GB, free: 8.867 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 (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.000669/0.3057, allocations: 0.8502 MB / 0.8058 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3061, allocations: 278.4 kB / 0.806 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3062, allocations: 0 / 0.806 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3064, allocations: 179.6 kB / 0.8062 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3069, allocations: 66.28 kB / 0.8063 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.309, allocations: 1.534 MB / 0.8078 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3095, allocations: 0.795 MB / 0.8085 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.3097, allocations: 42.25 kB / 0.8086 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3098, allocations: 79.42 kB / 0.8087 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.3098, allocations: 0 / 0.8087 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.3278, allocations: 4.905 MB / 0.8134 GB, free: 124 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.328, allocations: 194 kB / 0.8136 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.223, allocations: 0 / 0.8136 GB, free: 15.89 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/linux/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) Environment - environmentSimulation: