Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001506/0.001506, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 188.4 kB / 16.62 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.787/1.787, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001485/0.001486, allocations: 72.08 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2517, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008282/0.26, allocations: 6.692 MB / 0.7902 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004985/0.2651, allocations: 3.064 MB / 0.7932 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006081/0.2657, allocations: 27.81 kB / 0.7932 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.2681, allocations: 0.9446 MB / 0.7941 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.2695, allocations: 0.4972 MB / 0.7946 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2706, allocations: 435 kB / 0.795 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.2722, allocations: 1.217 MB / 0.7962 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009448/0.2731, allocations: 0.6586 MB / 0.7968 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.2738, allocations: 474.3 kB / 0.7973 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006254/0.2744, allocations: 0.5215 MB / 0.7978 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.951e-05/0.2745, allocations: 64 kB / 0.7979 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.2753, allocations: 379.3 kB / 0.7982 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.2756, allocations: 315.1 kB / 0.7985 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.276, allocations: 449.8 kB / 0.799 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.2772, allocations: 1.207 MB / 0.8001 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2772, allocations: 8 kB / 0.8001 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2772, allocations: 0 / 0.8001 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.2773, allocations: 0 / 0.8001 GB, free: 12.24 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001881/0.2791, allocations: 1.161 MB / 0.8013 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.2792, allocations: 11.97 kB / 0.8013 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.2794, allocations: 130.6 kB / 0.8014 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.2809, allocations: 239.6 kB / 0.8016 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008895/0.2818, allocations: 0.5843 MB / 0.8022 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.2819, allocations: 53.67 kB / 0.8023 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.282, allocations: 60.36 kB / 0.8023 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.2834, allocations: 1.089 MB / 0.8034 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.2834, allocations: 3.984 kB / 0.8034 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.2835, allocations: 35.98 kB / 0.8034 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.2836, allocations: 81.27 kB / 0.8035 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2847, allocations: 0.7542 MB / 0.8042 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.2899, allocations: 5.87 MB / 0.81 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009243/0.2908, allocations: 0.5623 MB / 0.8105 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.2912, allocations: 326 kB / 0.8108 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.2913, allocations: 8.438 kB / 0.8108 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2913, allocations: 35 kB / 0.8109 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.593e-06/0.2913, allocations: 0 / 0.8109 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003731/0.2951, allocations: 1.99 MB / 0.8128 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2951, allocations: 55.84 kB / 0.8129 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.2958, allocations: 0.5547 MB / 0.8134 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2958, allocations: 37.7 kB / 0.8134 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.2961, allocations: 414.9 kB / 0.8138 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.2962, allocations: 173.6 kB / 0.814 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.2964, allocations: 122.5 kB / 0.8141 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2965, allocations: 382.7 kB / 0.8145 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.2969, allocations: 273.8 kB / 0.8147 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.2975, allocations: 496.9 kB / 0.8152 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.2984, allocations: 0.8093 MB / 0.816 GB, free: 11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.2984, allocations: 0 / 0.816 GB, free: 11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001716/0.3002, allocations: 1.087 MB / 0.8171 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3002, allocations: 8 kB / 0.8171 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3002, allocations: 8 kB / 0.8171 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008218/0.301, allocations: 279.9 kB / 0.8174 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.3015, allocations: 131.7 kB / 0.8175 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.3077, allocations: 7.126 MB / 0.8244 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.3083, allocations: 43.95 kB / 0.8245 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.3084, allocations: 31.98 kB / 0.8245 GB, free: 1.695 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.3088, allocations: 257.5 kB / 0.8248 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3089, allocations: 71.16 kB / 0.8248 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.3104, allocations: 0.9001 MB / 0.8257 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3104, allocations: 8 kB / 0.8257 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3104, allocations: 4 kB / 0.8257 GB, free: 440 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3104, allocations: 3.984 kB / 0.8257 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.3129, allocations: 1.717 MB / 0.8274 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3129, allocations: 3.938 kB / 0.8274 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.3131, allocations: 63.88 kB / 0.8275 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006951/0.3139, allocations: 267.4 kB / 0.8277 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.3139, allocations: 12 kB / 0.8277 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006333/0.3202, allocations: 7.111 MB / 0.8347 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3203, allocations: 4.031 kB / 0.8347 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.322, allocations: 0.9954 MB / 0.8357 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.3223, allocations: 188.4 kB / 0.8358 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.3224, allocations: 19.94 kB / 0.8358 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3228, allocations: 27.97 kB / 0.8359 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3229, allocations: 39.94 kB / 0.8359 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.3229, allocations: 20 kB / 0.8359 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004358/0.3234, allocations: 387 kB / 0.8363 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3234, allocations: 0 / 0.8363 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008321/0.3242, allocations: 220 kB / 0.8365 GB, free: 4.656 MB / 0.6544 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001841/0.3261, allocations: 1.539 MB / 0.838 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.3282, allocations: 1.283 MB / 0.8393 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3282, allocations: 4.125 kB / 0.8393 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.3294, allocations: 0.8815 MB / 0.8401 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3305, allocations: 227 kB / 0.8403 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008634/0.3391, allocations: 6.354 MB / 0.8466 GB, free: 9.883 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.3398, allocations: 1.005 MB / 0.8475 GB, free: 8.852 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004434/0.3402, allocations: 126 kB / 0.8477 GB, free: 8.727 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.3405, allocations: 251.3 kB / 0.8479 GB, free: 8.48 MB / 0.67 GB Notification: Performance of SimCode: time 7.424e-06/0.3405, allocations: 0 / 0.8479 GB, free: 8.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.3887, allocations: 17.16 MB / 0.8646 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.843/10.23, allocations: 1.766 kB / 0.8646 GB, free: 7.602 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)