Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",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.0009956/0.0009956, allocations: 99.86 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.001045/0.001045, 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.547/1.547, allocations: 205.4 MB / 222.1 MB, free: 5.668 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 2.133/2.133, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005625/0.0005628, allocations: 13.09 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.311, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006475/0.3175, allocations: 5.328 MB / 0.7924 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00682/0.3244, allocations: 4.133 MB / 0.7965 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006749/0.3251, allocations: 19.88 kB / 0.7965 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.3257, allocations: 143 kB / 0.7966 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.3275, allocations: 0.6153 MB / 0.7972 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.3282, allocations: 244.5 kB / 0.7975 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009158/0.3291, allocations: 0.674 MB / 0.7981 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006531/0.3297, allocations: 488.2 kB / 0.7986 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.3302, allocations: 342.8 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.3308, allocations: 366.6 kB / 0.7993 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.3308, allocations: 32 kB / 0.7993 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.3312, allocations: 139.8 kB / 0.7994 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.3314, allocations: 183.4 kB / 0.7996 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3315, allocations: 169.3 kB / 0.7998 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007915/0.3323, allocations: 0.8028 MB / 0.8005 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3324, allocations: 0 / 0.8005 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3324, allocations: 4 kB / 0.8005 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3324, allocations: 0 / 0.8005 GB, free: 14.17 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001709/0.3341, allocations: 0.9776 MB / 0.8015 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3342, allocations: 8.031 kB / 0.8015 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.3343, allocations: 102.5 kB / 0.8016 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/0.3375, allocations: 0.6467 MB / 0.8022 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/0.3385, allocations: 0.5298 MB / 0.8028 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.3386, allocations: 37.31 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.808e-05/0.3387, allocations: 55.98 kB / 0.8028 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.3413, allocations: 1.018 MB / 0.8038 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.3413, allocations: 3.938 kB / 0.8038 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.3414, allocations: 20 kB / 0.8039 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.3415, allocations: 53.28 kB / 0.8039 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.344, allocations: 1.02 MB / 0.8049 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/0.3492, allocations: 3.509 MB / 0.8083 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.3508, allocations: 0.5183 MB / 0.8088 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.3509, allocations: 7.938 kB / 0.8088 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.3509, allocations: 38.56 kB / 0.8089 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/0.3509, allocations: 0 / 0.8089 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.007618/0.3586, allocations: 2.221 MB / 0.8111 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3587, allocations: 55.41 kB / 0.8111 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/0.3595, allocations: 0.5626 MB / 0.8117 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.3596, allocations: 33.7 kB / 0.8117 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.36, allocations: 360.1 kB / 0.812 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.3601, allocations: 153.8 kB / 0.8122 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.3602, allocations: 12 kB / 0.8122 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.3604, allocations: 374.7 kB / 0.8125 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.3611, allocations: 272.9 kB / 0.8128 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008398/0.362, allocations: 385.8 kB / 0.8132 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.3628, allocations: 309.7 kB / 0.8135 GB, free: 344 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3628, allocations: 0 / 0.8135 GB, free: 344 kB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002582/0.3654, allocations: 0.9785 MB / 0.8144 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006153/0.3661, allocations: 1.221 MB / 0.8156 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3661, allocations: 4 kB / 0.8156 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.3673, allocations: 280.8 kB / 0.8159 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.3679, allocations: 119.8 kB / 0.816 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00994/0.3779, allocations: 8.56 MB / 0.8244 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009952/0.379, allocations: 56.05 kB / 0.8244 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.379, allocations: 16 kB / 0.8244 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3791, allocations: 4 kB / 0.8244 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003037/0.3821, allocations: 1.086 MB / 0.8255 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3821, allocations: 4 kB / 0.8255 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008912/0.383, allocations: 213.2 kB / 0.8257 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.3837, allocations: 135.8 kB / 0.8258 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008056/0.3918, allocations: 8.231 MB / 0.8339 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000842/0.3927, allocations: 56.11 kB / 0.8339 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.3928, allocations: 20 kB / 0.8339 GB, free: 9.543 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006286/0.3934, allocations: 316.9 kB / 0.8342 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3935, allocations: 63.25 kB / 0.8343 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.3937, allocations: 82.38 kB / 0.8344 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3937, allocations: 7.953 kB / 0.8344 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.3937, allocations: 0 / 0.8344 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3938, allocations: 3.984 kB / 0.8344 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.3946, allocations: 0.6456 MB / 0.835 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3946, allocations: 0 / 0.835 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.3951, allocations: 99.84 kB / 0.8351 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/0.3961, allocations: 265.1 kB / 0.8354 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.3962, allocations: 15.98 kB / 0.8354 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00828/0.4045, allocations: 8.502 MB / 0.8437 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4046, allocations: 0 / 0.8437 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.4071, allocations: 0.96 MB / 0.8446 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.4074, allocations: 184.2 kB / 0.8448 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.4075, allocations: 8 kB / 0.8448 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.408, allocations: 47.95 kB / 0.8449 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4082, allocations: 47.89 kB / 0.8449 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4083, allocations: 8 kB / 0.8449 GB, free: 13.38 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005169/0.4088, allocations: 403.1 kB / 0.8453 GB, free: 12.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4088, allocations: 0 / 0.8453 GB, free: 12.99 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001214/0.41, allocations: 300 kB / 0.8456 GB, free: 12.7 MB / 0.67 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002686/0.4127, allocations: 1.516 MB / 0.8471 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004322/0.417, allocations: 2.419 MB / 0.8494 GB, free: 8.559 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.4171, allocations: 4.125 kB / 0.8494 GB, free: 8.555 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.4186, allocations: 1.023 MB / 0.8504 GB, free: 7.453 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4198, allocations: 210 kB / 0.8506 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.43, allocations: 6.274 MB / 0.8568 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.4309, allocations: 0.9976 MB / 0.8577 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007196/0.4316, allocations: 153.3 kB / 0.8579 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/0.432, allocations: 239.3 kB / 0.8581 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of SimCode: time 1.623e-06/0.432, allocations: 0 / 0.8581 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.4747, allocations: 18.39 MB / 0.8761 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.475, allocations: 212.8 kB / 0.8763 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/2.984, allocations: 0 / 0.8763 GB, free: 13.1 MB / 0.7012 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) Environment - environmentSimulation: