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.001918/0.001918, allocations: 108 kB / 15.6 MB, free: 132 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.002684/0.002684, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.61/1.61, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.676/1.676, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001416/0.001416, allocations: 66.28 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2177, allocations: 114.5 MB / 0.7835 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006042/0.2238, allocations: 4.873 MB / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003753/0.2276, allocations: 2.495 MB / 0.7907 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.228, allocations: 19.81 kB / 0.7907 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.2292, allocations: 401 kB / 0.7911 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.2304, allocations: 437.7 kB / 0.7915 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009517/0.2314, allocations: 379.1 kB / 0.7919 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009605/0.2324, allocations: 0.9096 MB / 0.7927 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.2329, allocations: 366.5 kB / 0.7931 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.2333, allocations: 334.7 kB / 0.7934 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.2337, allocations: 350.4 kB / 0.7937 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.2338, allocations: 36 kB / 0.7938 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.2345, allocations: 399.1 kB / 0.7942 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.2347, allocations: 187.4 kB / 0.7943 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.2349, allocations: 310.2 kB / 0.7946 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008829/0.2358, allocations: 0.876 MB / 0.7955 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2359, allocations: 0 / 0.7955 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2359, allocations: 3.938 kB / 0.7955 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.2359, allocations: 4 kB / 0.7955 GB, free: 1.102 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.001351/0.2372, allocations: 0.9308 MB / 0.7964 GB, free: 120 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.2373, allocations: 12.03 kB / 0.7964 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.642e-05/0.2374, allocations: 94.62 kB / 0.7965 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.2386, allocations: 195.9 kB / 0.7967 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.2393, allocations: 494.3 kB / 0.7972 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.2393, allocations: 37.36 kB / 0.7972 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.2394, allocations: 48.36 kB / 0.7972 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.2405, allocations: 0.8521 MB / 0.7981 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.2406, allocations: 7.938 kB / 0.7981 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.2406, allocations: 20 kB / 0.7981 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-05/0.2407, allocations: 64.95 kB / 0.7982 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.2415, allocations: 0.5695 MB / 0.7987 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.2458, allocations: 5.654 MB / 0.8042 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.2464, allocations: 450.3 kB / 0.8047 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.2467, allocations: 232.7 kB / 0.8049 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.2467, allocations: 11.98 kB / 0.8049 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2468, allocations: 34.55 kB / 0.8049 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.2468, allocations: 0 / 0.8049 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002403/0.2492, allocations: 1.501 MB / 0.8064 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2492, allocations: 55.41 kB / 0.8065 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.2497, allocations: 499 kB / 0.8069 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2497, allocations: 33.7 kB / 0.807 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.25, allocations: 358.8 kB / 0.8073 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.2501, allocations: 122.3 kB / 0.8074 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2502, allocations: 106.2 kB / 0.8075 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2503, allocations: 362.8 kB / 0.8079 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.2506, allocations: 197.2 kB / 0.8081 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.251, allocations: 455 kB / 0.8085 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/0.2518, allocations: 0.6808 MB / 0.8092 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2518, allocations: 4 kB / 0.8092 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001158/0.253, allocations: 0.8098 MB / 0.81 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.253, allocations: 20.86 kB / 0.81 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.2531, allocations: 8 kB / 0.81 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.2535, allocations: 148.1 kB / 0.8101 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.254, allocations: 128 kB / 0.8102 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.257, allocations: 4.336 MB / 0.8145 GB, free: 12.15 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.2574, allocations: 31.97 kB / 0.8145 GB, free: 12.12 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2574, allocations: 32 kB / 0.8145 GB, free: 12.09 MB / 0.6388 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.0002445/0.2577, allocations: 224.7 kB / 0.8148 GB, free: 11.87 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.2577, allocations: 59.25 kB / 0.8148 GB, free: 11.81 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/0.2587, allocations: 0.6006 MB / 0.8154 GB, free: 11.19 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2587, allocations: 8 kB / 0.8154 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2587, allocations: 3.984 kB / 0.8154 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2587, allocations: 0 / 0.8154 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2604, allocations: 1.259 MB / 0.8166 GB, free: 9.824 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.2604, allocations: 4 kB / 0.8166 GB, free: 9.82 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.2606, allocations: 51.89 kB / 0.8167 GB, free: 9.77 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/0.261, allocations: 148.3 kB / 0.8168 GB, free: 9.609 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.261, allocations: 11.94 kB / 0.8168 GB, free: 9.598 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.2639, allocations: 4.336 MB / 0.8211 GB, free: 4.836 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.2639, allocations: 7.969 kB / 0.8211 GB, free: 4.828 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.2649, allocations: 0.7082 MB / 0.8218 GB, free: 4.066 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.2651, allocations: 172.4 kB / 0.8219 GB, free: 3.879 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.2652, allocations: 8 kB / 0.822 GB, free: 3.871 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.2654, allocations: 23.91 kB / 0.822 GB, free: 3.848 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.2655, allocations: 31.91 kB / 0.822 GB, free: 3.816 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2655, allocations: 12 kB / 0.822 GB, free: 3.805 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0003374/0.2659, allocations: 334.8 kB / 0.8223 GB, free: 3.48 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2659, allocations: 0 / 0.8223 GB, free: 3.48 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0006335/0.2665, allocations: 140 kB / 0.8225 GB, free: 3.344 MB / 0.6388 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.00119/0.2677, allocations: 1.273 MB / 0.8237 GB, free: 2.004 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.2691, allocations: 1.072 MB / 0.8248 GB, free: 0.8516 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2691, allocations: 0 / 0.8248 GB, free: 0.8516 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0007347/0.2699, allocations: 0.7512 MB / 0.8255 GB, free: 20 kB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.2708, allocations: 199.5 kB / 0.8257 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/0.2768, allocations: 5.185 MB / 0.8307 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.2773, allocations: 0.9059 MB / 0.8316 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003797/0.2777, allocations: 113.3 kB / 0.8317 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.2779, allocations: 195.4 kB / 0.8319 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.2779, allocations: 0 / 0.8319 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.3123, allocations: 12.53 MB / 0.8442 GB, free: 12.72 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.805/10.12, allocations: 14.3 kB / 0.8442 GB, free: 12.71 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)