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.001439/0.00144, allocations: 105.4 kB / 15.7 MB, free: 20 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.001434/0.001434, allocations: 195.7 kB / 16.64 MB, free: 6.582 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.345/1.345, 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.642/1.642, 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.001391/0.001391, allocations: 64.86 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1946, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005864/0.2005, allocations: 4.868 MB / 0.7884 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.2041, allocations: 2.488 MB / 0.7908 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.2044, allocations: 23.81 kB / 0.7909 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.2055, allocations: 404.8 kB / 0.7912 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008448/0.2063, allocations: 441.6 kB / 0.7917 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.2071, allocations: 378.3 kB / 0.792 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000847/0.2079, allocations: 0.9134 MB / 0.7929 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.2084, allocations: 358.7 kB / 0.7933 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003576/0.2088, allocations: 346.6 kB / 0.7936 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.2092, allocations: 346.5 kB / 0.7939 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.2093, allocations: 36 kB / 0.7939 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.2098, allocations: 395.1 kB / 0.7943 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.21, allocations: 183.4 kB / 0.7945 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.2103, allocations: 322.2 kB / 0.7948 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008103/0.2111, allocations: 0.8799 MB / 0.7957 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2111, allocations: 3.938 kB / 0.7957 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2111, allocations: 0 / 0.7957 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.2111, allocations: 0 / 0.7957 GB, free: 0.8633 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.00125/0.2124, allocations: 0.9426 MB / 0.7966 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2124, allocations: 8.031 kB / 0.7966 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.717e-05/0.2125, allocations: 94.69 kB / 0.7967 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.2137, allocations: 199.9 kB / 0.7969 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.2144, allocations: 0.5295 MB / 0.7974 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.2145, allocations: 37.36 kB / 0.7974 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/0.2146, allocations: 48.34 kB / 0.7975 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.2156, allocations: 0.8522 MB / 0.7983 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.2156, allocations: 7.938 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.2156, allocations: 20 kB / 0.7983 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.314e-05/0.2157, allocations: 64.95 kB / 0.7984 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.2165, allocations: 0.5734 MB / 0.799 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/0.2206, allocations: 5.643 MB / 0.8045 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2212, allocations: 461.3 kB / 0.8049 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.2215, allocations: 224.7 kB / 0.8051 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.2216, allocations: 8 kB / 0.8051 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2216, allocations: 30.56 kB / 0.8052 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.2216, allocations: 0 / 0.8052 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002401/0.224, allocations: 1.505 MB / 0.8066 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2241, allocations: 59.41 kB / 0.8067 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.2246, allocations: 495 kB / 0.8072 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.2246, allocations: 33.7 kB / 0.8072 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.2249, allocations: 354.8 kB / 0.8075 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.225, allocations: 122.3 kB / 0.8076 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.2251, allocations: 110.2 kB / 0.8078 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2253, allocations: 362.8 kB / 0.8081 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.2256, allocations: 197.2 kB / 0.8083 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.226, allocations: 447 kB / 0.8087 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.2268, allocations: 0.6847 MB / 0.8094 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2268, allocations: 4 kB / 0.8094 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001296/0.2281, allocations: 0.8092 MB / 0.8102 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2282, allocations: 12 kB / 0.8102 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2282, allocations: 8 kB / 0.8102 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.2287, allocations: 160.7 kB / 0.8103 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.2291, allocations: 123.8 kB / 0.8105 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/0.2324, allocations: 4.344 MB / 0.8147 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.2329, allocations: 27.98 kB / 0.8147 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.2329, allocations: 32.14 kB / 0.8148 GB, free: 11.8 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.0002684/0.2332, allocations: 219.1 kB / 0.815 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.2333, allocations: 59.25 kB / 0.815 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009745/0.2343, allocations: 0.6045 MB / 0.8156 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2343, allocations: 4 kB / 0.8156 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2343, allocations: 7.875 kB / 0.8156 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2343, allocations: 3.984 kB / 0.8156 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.2361, allocations: 1.259 MB / 0.8169 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2361, allocations: 4 kB / 0.8169 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.2363, allocations: 47.95 kB / 0.8169 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/0.2367, allocations: 148.3 kB / 0.8171 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.2368, allocations: 11.94 kB / 0.8171 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/0.2398, allocations: 4.332 MB / 0.8213 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2398, allocations: 4.031 kB / 0.8213 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/0.2408, allocations: 0.7121 MB / 0.822 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.241, allocations: 168.4 kB / 0.8222 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.2411, allocations: 11.98 kB / 0.8222 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.2414, allocations: 19.97 kB / 0.8222 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.2414, allocations: 31.91 kB / 0.8222 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.2415, allocations: 8 kB / 0.8222 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003156/0.2418, allocations: 334.8 kB / 0.8225 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2418, allocations: 0 / 0.8225 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005906/0.2424, allocations: 144 kB / 0.8227 GB, free: 3.059 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.001179/0.2436, allocations: 1.269 MB / 0.8239 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.2449, allocations: 1.04 MB / 0.8249 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2449, allocations: 3.938 kB / 0.8249 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.2456, allocations: 0.7318 MB / 0.8257 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.2466, allocations: 196.4 kB / 0.8258 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.2522, allocations: 5.094 MB / 0.8308 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.2527, allocations: 0.9135 MB / 0.8317 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.253, allocations: 117.3 kB / 0.8318 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.2532, allocations: 191.4 kB / 0.832 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.2533, allocations: 7.938 kB / 0.832 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.2869, allocations: 12.56 MB / 0.8443 GB, free: 12.55 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.49, allocations: 16.03 kB / 0.8443 GB, free: 12.54 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)