Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 193.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 95.55 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12.31 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2546, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003971/0.2587, allocations: 3.492 MB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.2608, allocations: 1.501 MB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.261, allocations: 8 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.2612, allocations: 63.59 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.2617, allocations: 155.5 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.2621, allocations: 158.8 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.2624, allocations: 315.3 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.2628, allocations: 389.7 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.263, allocations: 147.5 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.2633, allocations: 171.3 kB / 0.9064 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.2633, allocations: 20 kB / 0.9064 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.2635, allocations: 71.89 kB / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.2636, allocations: 119.7 kB / 0.9066 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.2637, allocations: 93.52 kB / 0.9067 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.264, allocations: 391.3 kB / 0.907 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.264, allocations: 0 / 0.907 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.264, allocations: 0 / 0.907 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.264, allocations: 0 / 0.907 GB, free: 57.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009782/0.265, allocations: 0.6278 MB / 0.9077 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.265, allocations: 12.02 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/0.2651, allocations: 78.53 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006712/0.2658, allocations: 119.4 kB / 0.9079 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.2662, allocations: 286.5 kB / 0.9081 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.2663, allocations: 50.7 kB / 0.9082 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.2663, allocations: 36 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007622/0.2671, allocations: 0.5046 MB / 0.9087 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2671, allocations: 0 / 0.9087 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.2672, allocations: 12 kB / 0.9087 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.2672, allocations: 36.94 kB / 0.9087 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.2678, allocations: 391.6 kB / 0.9091 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.2699, allocations: 2.212 MB / 0.9113 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.2707, allocations: 274.6 kB / 0.9115 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.2707, allocations: 7.984 kB / 0.9116 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2707, allocations: 38.56 kB / 0.9116 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.2707, allocations: 0 / 0.9116 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001403/0.2721, allocations: 0.5927 MB / 0.9122 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2722, allocations: 59.41 kB / 0.9122 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.2724, allocations: 225 kB / 0.9124 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2724, allocations: 29.7 kB / 0.9125 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2725, allocations: 211.6 kB / 0.9127 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.2726, allocations: 63.09 kB / 0.9127 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.2726, allocations: 11.88 kB / 0.9127 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.2727, allocations: 334.8 kB / 0.9131 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.2729, allocations: 103.9 kB / 0.9132 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2731, allocations: 178.4 kB / 0.9133 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.2734, allocations: 120.9 kB / 0.9134 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2734, allocations: 0 / 0.9134 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007421/0.2741, allocations: 404.7 kB / 0.9138 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.2743, allocations: 0.8731 MB / 0.9147 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2743, allocations: 0 / 0.9147 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.2748, allocations: 113.6 kB / 0.9148 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.275, allocations: 55.91 kB / 0.9148 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.2774, allocations: 2.849 MB / 0.9176 GB, free: 45.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.2777, allocations: 35.98 kB / 0.9177 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2777, allocations: 12 kB / 0.9177 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.2778, allocations: 0 / 0.9177 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006712/0.2784, allocations: 324.5 kB / 0.918 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2784, allocations: 8 kB / 0.918 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.2787, allocations: 76.91 kB / 0.9181 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.2789, allocations: 59.91 kB / 0.9181 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.2804, allocations: 1.518 MB / 0.9196 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.2806, allocations: 27.83 kB / 0.9196 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2807, allocations: 8 kB / 0.9196 GB, free: 43.33 MB / 0.6042 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.2809, allocations: 245.1 kB / 0.9199 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.2809, allocations: 31.67 kB / 0.9199 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.281, allocations: 30.45 kB / 0.9199 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.281, allocations: 0 / 0.9199 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.281, allocations: 4 kB / 0.9199 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.281, allocations: 3.984 kB / 0.9199 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.2814, allocations: 389.2 kB / 0.9203 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2814, allocations: 0 / 0.9203 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2816, allocations: 35.91 kB / 0.9203 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.2819, allocations: 109.6 kB / 0.9204 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2819, allocations: 4 kB / 0.9205 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.2841, allocations: 2.831 MB / 0.9232 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2841, allocations: 0 / 0.9232 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.2848, allocations: 414.5 kB / 0.9236 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2849, allocations: 116.8 kB / 0.9237 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.285, allocations: 4 kB / 0.9237 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.2851, allocations: 12 kB / 0.9237 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.2852, allocations: 23.92 kB / 0.9238 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2852, allocations: 4 kB / 0.9238 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000127/0.2854, allocations: 164.5 kB / 0.9239 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2854, allocations: 0 / 0.9239 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006125/0.286, allocations: 171.3 kB / 0.9241 GB, free: 38.41 MB / 0.6042 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008892/0.2869, allocations: 0.9502 MB / 0.925 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.2885, allocations: 0.777 MB / 0.9258 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2886, allocations: 0 / 0.9258 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.2892, allocations: 369.6 kB / 0.9261 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2896, allocations: 56.62 kB / 0.9262 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.2922, allocations: 3.027 MB / 0.9291 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2925, allocations: 0.8191 MB / 0.9299 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.2927, allocations: 54.25 kB / 0.93 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2929, allocations: 83.41 kB / 0.9301 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/0.2929, allocations: 7.938 kB / 0.9301 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3129, allocations: 6.474 MB / 0.9364 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.3132, allocations: 217.6 kB / 0.9366 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.26, allocations: 0 / 0.9366 GB, free: 25.56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)