Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.001064/0.001064, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00146/0.00146, allocations: 172.7 kB / 15.95 MB, free: 208 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.471/1.471, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.866/1.866, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005362/0.0005363, allocations: 18.2 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2825, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004896/0.2875, allocations: 4.264 MB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003952/0.2915, allocations: 2.353 MB / 0.7939 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.2919, allocations: 23.81 kB / 0.7939 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.2923, allocations: 87.2 kB / 0.794 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009879/0.2932, allocations: 346.1 kB / 0.7943 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.2941, allocations: 275.5 kB / 0.7946 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.2951, allocations: 0.9602 MB / 0.7955 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.2958, allocations: 428.2 kB / 0.7959 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.2963, allocations: 282.7 kB / 0.7962 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.2967, allocations: 330.6 kB / 0.7965 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.2968, allocations: 23.94 kB / 0.7965 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.2973, allocations: 195.7 kB / 0.7967 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.2975, allocations: 155.5 kB / 0.7969 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.2977, allocations: 145.3 kB / 0.797 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.2983, allocations: 0.6392 MB / 0.7976 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2983, allocations: 0 / 0.7976 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2984, allocations: 0 / 0.7976 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.2984, allocations: 0 / 0.7976 GB, free: 1.293 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.001427/0.2998, allocations: 0.8333 MB / 0.7984 GB, free: 416 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.2999, allocations: 12.03 kB / 0.7984 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.3, allocations: 94.5 kB / 0.7985 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.3013, allocations: 210.8 kB / 0.7987 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007952/0.3021, allocations: 473.4 kB / 0.7992 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.3021, allocations: 29 kB / 0.7992 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.3022, allocations: 47.92 kB / 0.7993 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3034, allocations: 0.8403 MB / 0.8001 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.3034, allocations: 11.84 kB / 0.8001 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.3035, allocations: 27.98 kB / 0.8001 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.573e-05/0.3036, allocations: 64.95 kB / 0.8002 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.3044, allocations: 0.5578 MB / 0.8007 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.3089, allocations: 5.65 MB / 0.8062 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.3096, allocations: 462.3 kB / 0.8067 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.3099, allocations: 224.7 kB / 0.8069 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.31, allocations: 4 kB / 0.8069 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.31, allocations: 42.52 kB / 0.8069 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 4.609e-06/0.31, allocations: 0 / 0.8069 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.00247/0.3125, allocations: 1.505 MB / 0.8084 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.3126, allocations: 55.41 kB / 0.8085 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.3131, allocations: 490.9 kB / 0.8089 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3131, allocations: 33.7 kB / 0.809 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.3134, allocations: 354.8 kB / 0.8093 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.3135, allocations: 118.4 kB / 0.8094 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.3135, allocations: 8 kB / 0.8094 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3137, allocations: 370.8 kB / 0.8098 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.314, allocations: 193.2 kB / 0.81 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.3144, allocations: 451 kB / 0.8104 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.3148, allocations: 251.8 kB / 0.8106 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3148, allocations: 0 / 0.8106 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001188/0.316, allocations: 0.8101 MB / 0.8114 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.316, allocations: 8.969 kB / 0.8114 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3161, allocations: 11.98 kB / 0.8114 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.3165, allocations: 156.1 kB / 0.8116 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.317, allocations: 119.8 kB / 0.8117 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.3199, allocations: 4.042 MB / 0.8157 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.3203, allocations: 31.97 kB / 0.8157 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.3204, allocations: 28 kB / 0.8157 GB, free: 13.39 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002842/0.3207, allocations: 213.7 kB / 0.8159 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.3207, allocations: 59.25 kB / 0.816 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009998/0.3218, allocations: 0.6047 MB / 0.8166 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3218, allocations: 7.938 kB / 0.8166 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3218, allocations: 3.953 kB / 0.8166 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3218, allocations: 4 kB / 0.8166 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.3235, allocations: 1.242 MB / 0.8178 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3235, allocations: 11.91 kB / 0.8178 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3237, allocations: 59.91 kB / 0.8179 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/0.3241, allocations: 144.1 kB / 0.818 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.3242, allocations: 8 kB / 0.818 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.3271, allocations: 4.032 MB / 0.8219 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3271, allocations: 4.031 kB / 0.8219 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.3281, allocations: 0.7038 MB / 0.8226 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.3283, allocations: 168.3 kB / 0.8228 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.3284, allocations: 8 kB / 0.8228 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.3286, allocations: 27.97 kB / 0.8228 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.3287, allocations: 31.89 kB / 0.8229 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.3287, allocations: 8 kB / 0.8229 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004167/0.3291, allocations: 326.9 kB / 0.8232 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3291, allocations: 4 kB / 0.8232 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000636/0.3298, allocations: 140 kB / 0.8233 GB, free: 4.996 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.3311, allocations: 1.272 MB / 0.8246 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.3325, allocations: 1.029 MB / 0.8256 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.3326, allocations: 4 kB / 0.8256 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.3333, allocations: 0.7308 MB / 0.8263 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.3343, allocations: 184.3 kB / 0.8265 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.3393, allocations: 3.43 MB / 0.8298 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.3399, allocations: 0.9137 MB / 0.8307 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003696/0.3402, allocations: 121.3 kB / 0.8308 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.3405, allocations: 195.4 kB / 0.831 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.3405, allocations: 0 / 0.831 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.3668, allocations: 12.06 MB / 0.8428 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.367, allocations: 218.7 kB / 0.843 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.437, allocations: 0 / 0.843 GB, free: 0.6641 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) Environment - environmentSimulation: