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.001185/0.001185, 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.001487/0.001487, allocations: 196.1 kB / 16.64 MB, free: 6.445 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.689/1.689, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001402/0.001402, allocations: 76.09 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2513, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01029/0.2616, allocations: 6.061 MB / 0.7896 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005384/0.2671, allocations: 3.212 MB / 0.7927 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.2677, allocations: 27.81 kB / 0.7927 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.2701, allocations: 0.9142 MB / 0.7936 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.2713, allocations: 481.5 kB / 0.7941 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.2725, allocations: 489.7 kB / 0.7945 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.2738, allocations: 1.088 MB / 0.7956 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008974/0.2747, allocations: 0.6391 MB / 0.7962 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.2752, allocations: 434.4 kB / 0.7966 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.2758, allocations: 478.2 kB / 0.7971 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.2759, allocations: 60 kB / 0.7972 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.2768, allocations: 487 kB / 0.7976 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.277, allocations: 287.3 kB / 0.7979 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003678/0.2774, allocations: 401.9 kB / 0.7983 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2786, allocations: 1.172 MB / 0.7994 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2786, allocations: 4 kB / 0.7994 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2786, allocations: 0 / 0.7994 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.2787, allocations: 4 kB / 0.7994 GB, free: 13 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.001557/0.2802, allocations: 1.048 MB / 0.8005 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2803, allocations: 8.031 kB / 0.8005 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.2804, allocations: 118.7 kB / 0.8006 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.2819, allocations: 223.6 kB / 0.8008 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008257/0.2827, allocations: 0.5766 MB / 0.8014 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.2828, allocations: 49.61 kB / 0.8014 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/0.2829, allocations: 64.36 kB / 0.8015 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.2843, allocations: 1.026 MB / 0.8025 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2843, allocations: 19.84 kB / 0.8025 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.2844, allocations: 27.98 kB / 0.8025 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.638e-05/0.2845, allocations: 69.27 kB / 0.8026 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009975/0.2855, allocations: 0.6879 MB / 0.8033 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.2905, allocations: 5.737 MB / 0.8089 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.2914, allocations: 0.5969 MB / 0.8094 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.2921, allocations: 420.6 kB / 0.8098 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.2922, allocations: 4 kB / 0.8098 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2922, allocations: 34.56 kB / 0.8099 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.575e-06/0.2922, allocations: 0 / 0.8099 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004374/0.2966, allocations: 2.061 MB / 0.8119 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2967, allocations: 55.41 kB / 0.8119 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.2972, allocations: 458.7 kB / 0.8124 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.2973, allocations: 29.7 kB / 0.8124 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.2975, allocations: 387.1 kB / 0.8128 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.2976, allocations: 161.7 kB / 0.8129 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.2978, allocations: 106.2 kB / 0.813 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.298, allocations: 362.8 kB / 0.8134 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.2983, allocations: 253.2 kB / 0.8136 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.2988, allocations: 457 kB / 0.8141 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009729/0.2998, allocations: 0.7519 MB / 0.8148 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.2998, allocations: 4 kB / 0.8148 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001905/0.3017, allocations: 1.066 MB / 0.8158 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3017, allocations: 8 kB / 0.8158 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.3018, allocations: 11.98 kB / 0.8159 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.3029, allocations: 335.1 kB / 0.8162 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.3032, allocations: 95.89 kB / 0.8163 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007413/0.3106, allocations: 7.508 MB / 0.8236 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.3111, allocations: 36.3 kB / 0.8236 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.3112, allocations: 24 kB / 0.8237 GB, free: 2.574 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.0003516/0.3115, allocations: 249.5 kB / 0.8239 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.3116, allocations: 59.34 kB / 0.8239 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.3134, allocations: 0.9122 MB / 0.8248 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.3134, allocations: 7.984 kB / 0.8248 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3134, allocations: 4 kB / 0.8248 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3134, allocations: 3.984 kB / 0.8249 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.316, allocations: 1.696 MB / 0.8265 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.316, allocations: 4.188 kB / 0.8265 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3162, allocations: 43.91 kB / 0.8266 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009101/0.3171, allocations: 331.2 kB / 0.8269 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.3172, allocations: 12 kB / 0.8269 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/0.3242, allocations: 7.499 MB / 0.8342 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.3242, allocations: 7.938 kB / 0.8342 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3259, allocations: 1.015 MB / 0.8352 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.3262, allocations: 184.2 kB / 0.8354 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.3263, allocations: 15.98 kB / 0.8354 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.3266, allocations: 15.98 kB / 0.8354 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3267, allocations: 39.94 kB / 0.8354 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.3267, allocations: 12 kB / 0.8355 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003387/0.3271, allocations: 310.8 kB / 0.8358 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3271, allocations: 0 / 0.8358 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007955/0.3279, allocations: 196 kB / 0.8359 GB, free: 5.23 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.00199/0.3299, allocations: 1.56 MB / 0.8375 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.3318, allocations: 1.222 MB / 0.8387 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3319, allocations: 0 / 0.8387 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.3331, allocations: 0.8542 MB / 0.8395 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.3342, allocations: 218.9 kB / 0.8397 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008131/0.3423, allocations: 5.867 MB / 0.8454 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.343, allocations: 0.9882 MB / 0.8464 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003073/0.3433, allocations: 101.2 kB / 0.8465 GB, free: 9.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.3435, allocations: 227.4 kB / 0.8467 GB, free: 9.699 MB / 0.67 GB Notification: Performance of SimCode: time 1.222e-06/0.3436, allocations: 0 / 0.8467 GB, free: 9.699 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.3871, allocations: 15.2 MB / 0.8616 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.654/10.04, allocations: 11.38 kB / 0.8616 GB, free: 10.73 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)