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.00114/0.001143, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.0009814/0.0009814, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.181/1.181, allocations: 205.1 MB / 222 MB, free: 4.973 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.599/1.599, allocations: 292.3 MB / 0.5484 GB, free: 13.6 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.001312/0.001312, allocations: 65.12 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1955, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005531/0.2011, allocations: 4.876 MB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.2046, allocations: 2.523 MB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.2049, allocations: 19.81 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000972/0.2059, allocations: 361.5 kB / 0.7904 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007652/0.2067, allocations: 410 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.2073, allocations: 347.4 kB / 0.7911 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009153/0.2083, allocations: 1.124 MB / 0.7922 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.2088, allocations: 355.5 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.2091, allocations: 306.5 kB / 0.7928 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.2095, allocations: 346.5 kB / 0.7932 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.2096, allocations: 24 kB / 0.7932 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.2103, allocations: 0.4912 MB / 0.7937 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.2104, allocations: 179.4 kB / 0.7938 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.2108, allocations: 306.2 kB / 0.7941 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2118, allocations: 0.8876 MB / 0.795 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2118, allocations: 0 / 0.795 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2118, allocations: 0 / 0.795 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2118, allocations: 0 / 0.795 GB, free: 1.355 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.00152/0.2134, allocations: 0.9348 MB / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.2134, allocations: 11.97 kB / 0.7959 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.2136, allocations: 94.69 kB / 0.796 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.215, allocations: 195.9 kB / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.2158, allocations: 0.4904 MB / 0.7967 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.2158, allocations: 33.36 kB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.2159, allocations: 48.38 kB / 0.7968 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.217, allocations: 0.8483 MB / 0.7976 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.217, allocations: 3.938 kB / 0.7976 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.2171, allocations: 23.98 kB / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.2172, allocations: 68.95 kB / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.218, allocations: 0.5616 MB / 0.7982 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.2224, allocations: 5.658 MB / 0.8038 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.223, allocations: 458.2 kB / 0.8042 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.2233, allocations: 220.7 kB / 0.8044 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2233, allocations: 4 kB / 0.8044 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.2234, allocations: 42.56 kB / 0.8044 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.2234, allocations: 0 / 0.8044 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002439/0.2258, allocations: 1.509 MB / 0.8059 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.2259, allocations: 55.41 kB / 0.806 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.2264, allocations: 495 kB / 0.8064 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2264, allocations: 33.64 kB / 0.8065 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.2266, allocations: 358.8 kB / 0.8068 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/0.2267, allocations: 122.3 kB / 0.8069 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.2269, allocations: 110.2 kB / 0.807 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.227, allocations: 366.8 kB / 0.8074 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.2273, allocations: 193.2 kB / 0.8076 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.2277, allocations: 450.8 kB / 0.808 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000757/0.2285, allocations: 0.6847 MB / 0.8087 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2285, allocations: 4 kB / 0.8087 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001201/0.2297, allocations: 0.8137 MB / 0.8095 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2297, allocations: 8 kB / 0.8095 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2298, allocations: 8 kB / 0.8095 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.2302, allocations: 156.1 kB / 0.8096 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.2307, allocations: 123.9 kB / 0.8098 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/0.234, allocations: 4.04 MB / 0.8137 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.2345, allocations: 31.97 kB / 0.8137 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.2345, allocations: 28 kB / 0.8138 GB, free: 12.66 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.0003515/0.2349, allocations: 219.4 kB / 0.814 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.235, allocations: 59.25 kB / 0.814 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.2361, allocations: 0.6045 MB / 0.8146 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2361, allocations: 4 kB / 0.8146 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2361, allocations: 3.938 kB / 0.8146 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2361, allocations: 0 / 0.8146 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.2379, allocations: 1.257 MB / 0.8158 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2379, allocations: 4 kB / 0.8159 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.2382, allocations: 55.89 kB / 0.8159 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.2386, allocations: 152.3 kB / 0.8161 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.2386, allocations: 8 kB / 0.8161 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.2418, allocations: 4.021 MB / 0.82 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.2418, allocations: 8.047 kB / 0.82 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.2429, allocations: 0.7076 MB / 0.8207 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.2432, allocations: 168.2 kB / 0.8208 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.2432, allocations: 15.92 kB / 0.8209 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2435, allocations: 19.98 kB / 0.8209 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.2436, allocations: 39.89 kB / 0.8209 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.2436, allocations: 12 kB / 0.8209 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003679/0.244, allocations: 334.8 kB / 0.8212 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.244, allocations: 0 / 0.8212 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006468/0.2446, allocations: 140 kB / 0.8214 GB, free: 4.238 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.001274/0.2459, allocations: 1.272 MB / 0.8226 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.2473, allocations: 1.033 MB / 0.8236 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2473, allocations: 0 / 0.8236 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.2481, allocations: 0.7351 MB / 0.8243 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.249, allocations: 183 kB / 0.8245 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/0.2554, allocations: 5.388 MB / 0.8298 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.2559, allocations: 0.9097 MB / 0.8307 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003734/0.2563, allocations: 113.3 kB / 0.8308 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.2565, allocations: 195.4 kB / 0.831 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of SimCode: time 1.183e-06/0.2565, allocations: 0 / 0.831 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.2858, allocations: 12.15 MB / 0.8428 GB, free: 13.88 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.2861, allocations: 227.5 kB / 0.8431 GB, free: 13.63 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.194, allocations: 0 / 0.8431 GB, free: 13.63 MB / 0.67 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/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)