Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001256/0.001257, allocations: 108 kB / 15.61 MB, free: 148 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.001301/0.001301, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.543/1.543, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.76/1.76, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001553/0.001553, allocations: 71.47 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2679, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007285/0.2752, allocations: 4.909 MB / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004893/0.2802, allocations: 2.523 MB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006629/0.2809, allocations: 23.81 kB / 0.7908 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2823, allocations: 401.9 kB / 0.7911 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.2835, allocations: 445.6 kB / 0.7916 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2847, allocations: 408.5 kB / 0.792 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.286, allocations: 0.9212 MB / 0.7929 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.2866, allocations: 354.5 kB / 0.7932 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.2872, allocations: 342.6 kB / 0.7935 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.2878, allocations: 350.4 kB / 0.7939 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.2879, allocations: 40 kB / 0.7939 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.2887, allocations: 395.1 kB / 0.7943 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.2889, allocations: 187.4 kB / 0.7944 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.2893, allocations: 322.2 kB / 0.7948 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.2905, allocations: 0.876 MB / 0.7956 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2905, allocations: 3.938 kB / 0.7956 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2905, allocations: 0 / 0.7956 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.2905, allocations: 0 / 0.7956 GB, free: 0.9141 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001721/0.2922, allocations: 0.9425 MB / 0.7965 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.2923, allocations: 12.03 kB / 0.7965 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.2925, allocations: 94.59 kB / 0.7966 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.294, allocations: 199.9 kB / 0.7968 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.2949, allocations: 0.4905 MB / 0.7973 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.2949, allocations: 41.36 kB / 0.7973 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.295, allocations: 48.31 kB / 0.7974 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2963, allocations: 0.8483 MB / 0.7982 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.2963, allocations: 11.84 kB / 0.7982 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.2964, allocations: 23.98 kB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.2965, allocations: 60.95 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.2974, allocations: 0.5656 MB / 0.7989 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/0.3022, allocations: 5.662 MB / 0.8044 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.3028, allocations: 454.3 kB / 0.8048 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3031, allocations: 224.7 kB / 0.805 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.3032, allocations: 11.98 kB / 0.8051 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3032, allocations: 38.56 kB / 0.8051 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.3032, allocations: 0 / 0.8051 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.00259/0.3058, allocations: 1.509 MB / 0.8066 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3059, allocations: 55.41 kB / 0.8066 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.3064, allocations: 0.4951 MB / 0.8071 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3064, allocations: 33.7 kB / 0.8071 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.3067, allocations: 366.8 kB / 0.8075 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.3068, allocations: 122.3 kB / 0.8076 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3069, allocations: 110.2 kB / 0.8077 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3071, allocations: 366.8 kB / 0.8081 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.3073, allocations: 193.2 kB / 0.8082 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.3078, allocations: 451 kB / 0.8087 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.3086, allocations: 0.6846 MB / 0.8093 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3086, allocations: 3.984 kB / 0.8093 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001302/0.3099, allocations: 0.8137 MB / 0.8101 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3099, allocations: 10.66 kB / 0.8101 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.31, allocations: 8 kB / 0.8102 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.3105, allocations: 160.2 kB / 0.8103 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.3109, allocations: 123.8 kB / 0.8104 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.3142, allocations: 4.344 MB / 0.8147 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.3147, allocations: 35.97 kB / 0.8147 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.3148, allocations: 28 kB / 0.8147 GB, free: 11.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000313/0.3151, allocations: 221.4 kB / 0.8149 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3152, allocations: 59.25 kB / 0.815 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3163, allocations: 0.6085 MB / 0.8156 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3163, allocations: 8 kB / 0.8156 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.3163, allocations: 0 / 0.8156 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3163, allocations: 4 kB / 0.8156 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.3182, allocations: 1.262 MB / 0.8168 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3183, allocations: 0 / 0.8168 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.3185, allocations: 55.89 kB / 0.8169 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/0.3189, allocations: 140.4 kB / 0.817 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.319, allocations: 15.92 kB / 0.817 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.3223, allocations: 4.329 MB / 0.8213 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3224, allocations: 3.984 kB / 0.8213 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3234, allocations: 0.7199 MB / 0.822 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.3236, allocations: 168.3 kB / 0.8221 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.3237, allocations: 8 kB / 0.8221 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.324, allocations: 23.97 kB / 0.8222 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.3241, allocations: 35.83 kB / 0.8222 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3241, allocations: 8 kB / 0.8222 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003845/0.3245, allocations: 342.8 kB / 0.8225 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3245, allocations: 0 / 0.8225 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006406/0.3251, allocations: 144 kB / 0.8227 GB, free: 3.078 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.3264, allocations: 1.266 MB / 0.8239 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.328, allocations: 1.083 MB / 0.825 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.328, allocations: 3.938 kB / 0.825 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.3288, allocations: 0.7385 MB / 0.8257 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.3299, allocations: 207.9 kB / 0.8259 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.3367, allocations: 5.244 MB / 0.831 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.3373, allocations: 0.9137 MB / 0.8319 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003874/0.3377, allocations: 117.3 kB / 0.832 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.338, allocations: 191.4 kB / 0.8322 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.338, allocations: 0 / 0.8322 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.3825, allocations: 12.69 MB / 0.8446 GB, free: 12.28 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.572/9.954, allocations: 15.73 kB / 0.8446 GB, free: 12.27 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)