Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.00178/0.001786, allocations: 105.4 kB / 15.7 MB, free: 24 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.001758/0.001758, allocations: 195.5 kB / 16.64 MB, free: 6.453 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.786/1.786, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001719/0.001719, allocations: 65.39 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2533, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007657/0.261, allocations: 6.067 MB / 0.7896 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005271/0.2663, allocations: 3.208 MB / 0.7927 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.267, allocations: 27.81 kB / 0.7927 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.2694, allocations: 0.9247 MB / 0.7936 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.2709, allocations: 473.5 kB / 0.7941 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2722, allocations: 494.2 kB / 0.7945 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.2736, allocations: 1.084 MB / 0.7956 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008671/0.2744, allocations: 0.6429 MB / 0.7962 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.275, allocations: 442.3 kB / 0.7967 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.2756, allocations: 474.2 kB / 0.7971 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.2757, allocations: 56 kB / 0.7972 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008885/0.2766, allocations: 483 kB / 0.7976 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.2768, allocations: 287.3 kB / 0.7979 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.2772, allocations: 397.9 kB / 0.7983 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.2785, allocations: 1.18 MB / 0.7994 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2785, allocations: 0 / 0.7994 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2785, allocations: 0 / 0.7994 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.2785, allocations: 7.938 kB / 0.7994 GB, free: 13.03 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001516/0.2801, allocations: 1.046 MB / 0.8005 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.2801, allocations: 12.03 kB / 0.8005 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.2802, allocations: 114.7 kB / 0.8006 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.2817, allocations: 227.6 kB / 0.8008 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.2825, allocations: 0.5766 MB / 0.8014 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.2826, allocations: 49.67 kB / 0.8014 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.2827, allocations: 64.36 kB / 0.8015 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.284, allocations: 1.03 MB / 0.8025 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.284, allocations: 19.84 kB / 0.8025 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.2841, allocations: 27.98 kB / 0.8025 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-05/0.2842, allocations: 69.27 kB / 0.8026 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009606/0.2852, allocations: 0.6918 MB / 0.8033 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.2899, allocations: 5.733 MB / 0.8089 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.2907, allocations: 0.6012 MB / 0.8094 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.2914, allocations: 416.6 kB / 0.8098 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.2915, allocations: 4 kB / 0.8098 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2915, allocations: 38.56 kB / 0.8099 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.864e-06/0.2915, allocations: 0 / 0.8099 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00415/0.2957, allocations: 2.061 MB / 0.8119 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2957, allocations: 55.41 kB / 0.8119 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.2962, allocations: 458.7 kB / 0.8124 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.2962, allocations: 33.7 kB / 0.8124 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2965, allocations: 387 kB / 0.8128 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2966, allocations: 149.8 kB / 0.8129 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2968, allocations: 110.2 kB / 0.813 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2969, allocations: 362.8 kB / 0.8134 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2973, allocations: 253.2 kB / 0.8136 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.2977, allocations: 457 kB / 0.8141 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.2986, allocations: 0.752 MB / 0.8148 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2986, allocations: 0 / 0.8148 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001719/0.3003, allocations: 1.066 MB / 0.8158 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3004, allocations: 8 kB / 0.8158 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.3004, allocations: 8 kB / 0.8158 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/0.3014, allocations: 343.1 kB / 0.8162 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.3017, allocations: 95.83 kB / 0.8163 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006687/0.3084, allocations: 7.516 MB / 0.8236 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/0.309, allocations: 32.02 kB / 0.8236 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.309, allocations: 24 kB / 0.8237 GB, free: 2.594 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003883/0.3094, allocations: 241.5 kB / 0.8239 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3096, allocations: 63.34 kB / 0.824 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.3113, allocations: 0.912 MB / 0.8248 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3114, allocations: 4 kB / 0.8248 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3114, allocations: 4 kB / 0.8248 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3114, allocations: 3.984 kB / 0.8249 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.3141, allocations: 1.704 MB / 0.8265 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3141, allocations: 0 / 0.8265 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3143, allocations: 43.97 kB / 0.8266 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009276/0.3152, allocations: 335.4 kB / 0.8269 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.3153, allocations: 8 kB / 0.8269 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007012/0.3223, allocations: 7.499 MB / 0.8342 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3223, allocations: 4.031 kB / 0.8342 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.324, allocations: 1.018 MB / 0.8352 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.3243, allocations: 180.3 kB / 0.8354 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.3244, allocations: 15.98 kB / 0.8354 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.3246, allocations: 15.98 kB / 0.8354 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3248, allocations: 39.94 kB / 0.8354 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3248, allocations: 16 kB / 0.8355 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003363/0.3252, allocations: 306.8 kB / 0.8358 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3252, allocations: 0 / 0.8358 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007783/0.3259, allocations: 200 kB / 0.8359 GB, free: 5.254 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001925/0.3279, allocations: 1.555 MB / 0.8375 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.3299, allocations: 1.218 MB / 0.8387 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.33, allocations: 4 kB / 0.8387 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.3312, allocations: 0.862 MB / 0.8395 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3322, allocations: 204.5 kB / 0.8397 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007798/0.34, allocations: 5.865 MB / 0.8454 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.3407, allocations: 0.9882 MB / 0.8464 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.341, allocations: 109.2 kB / 0.8465 GB, free: 9.945 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.3413, allocations: 219.4 kB / 0.8467 GB, free: 9.73 MB / 0.67 GB Notification: Performance of SimCode: time 1.863e-06/0.3413, allocations: 0 / 0.8467 GB, free: 9.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04401/0.3854, allocations: 15.21 MB / 0.8616 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.667/10.05, allocations: 13.03 kB / 0.8616 GB, free: 10.76 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)