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.001023/0.001023, 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.001175/0.001175, allocations: 193.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.333/1.333, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.675/1.675, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.002421/0.002421, allocations: 73.16 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2438, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006075/0.2499, allocations: 4.857 MB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.2538, allocations: 2.495 MB / 0.7907 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.2542, allocations: 23.81 kB / 0.7907 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.2554, allocations: 401.9 kB / 0.7911 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2565, allocations: 445.6 kB / 0.7915 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.2574, allocations: 378.5 kB / 0.7919 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008903/0.2583, allocations: 0.9135 MB / 0.7927 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005289/0.2588, allocations: 366.5 kB / 0.7931 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.2592, allocations: 330.7 kB / 0.7934 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.2596, allocations: 350.4 kB / 0.7937 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.2597, allocations: 44 kB / 0.7938 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.2603, allocations: 399.1 kB / 0.7942 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.2605, allocations: 179.5 kB / 0.7943 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.2608, allocations: 314.2 kB / 0.7946 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008294/0.2616, allocations: 0.8682 MB / 0.7955 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2616, allocations: 0 / 0.7955 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2616, allocations: 3.938 kB / 0.7955 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2617, allocations: 0 / 0.7955 GB, free: 1.031 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.001319/0.263, allocations: 0.9425 MB / 0.7964 GB, free: 36 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.263, allocations: 8.031 kB / 0.7964 GB, free: 28 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.2632, allocations: 94.69 kB / 0.7965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.2644, allocations: 195.9 kB / 0.7967 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/0.2651, allocations: 498.3 kB / 0.7972 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.2651, allocations: 33.36 kB / 0.7972 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.2652, allocations: 44.38 kB / 0.7972 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2662, allocations: 0.8483 MB / 0.7981 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2662, allocations: 7.922 kB / 0.7981 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.2663, allocations: 23.98 kB / 0.7981 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.497e-05/0.2664, allocations: 68.95 kB / 0.7982 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.2672, allocations: 0.5656 MB / 0.7987 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004034/0.2712, allocations: 5.654 MB / 0.8042 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.2718, allocations: 461.1 kB / 0.8047 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.2722, allocations: 232.7 kB / 0.8049 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2722, allocations: 0 / 0.8049 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2722, allocations: 34.56 kB / 0.8049 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.2722, allocations: 0 / 0.8049 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002467/0.2747, allocations: 1.505 MB / 0.8064 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.2748, allocations: 59.34 kB / 0.8065 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.2753, allocations: 499 kB / 0.8069 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2753, allocations: 29.7 kB / 0.807 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.2755, allocations: 358.8 kB / 0.8073 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.2756, allocations: 130.3 kB / 0.8074 GB, free: 4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.2758, allocations: 106.2 kB / 0.8075 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.276, allocations: 362.8 kB / 0.8079 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.2763, allocations: 197.2 kB / 0.8081 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.2767, allocations: 447 kB / 0.8085 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.2775, allocations: 0.6847 MB / 0.8092 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2775, allocations: 4 kB / 0.8092 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00123/0.2788, allocations: 0.8095 MB / 0.81 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.2788, allocations: 11.94 kB / 0.81 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.539e-05/0.2789, allocations: 12 kB / 0.81 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/0.2794, allocations: 156.5 kB / 0.8101 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.2798, allocations: 123.8 kB / 0.8103 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.2833, allocations: 4.332 MB / 0.8145 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.2837, allocations: 35.97 kB / 0.8145 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.2837, allocations: 36.11 kB / 0.8146 GB, free: 12.01 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.0002571/0.284, allocations: 215.1 kB / 0.8148 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.2841, allocations: 59.25 kB / 0.8148 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.2851, allocations: 0.6083 MB / 0.8154 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.2851, allocations: 0 / 0.8154 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2851, allocations: 4 kB / 0.8154 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2851, allocations: 3.984 kB / 0.8154 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.2869, allocations: 1.259 MB / 0.8166 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2869, allocations: 0 / 0.8166 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.2871, allocations: 51.95 kB / 0.8167 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/0.2875, allocations: 148.3 kB / 0.8168 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.2876, allocations: 11.94 kB / 0.8168 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/0.291, allocations: 4.332 MB / 0.8211 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.291, allocations: 4.156 kB / 0.8211 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2921, allocations: 0.712 MB / 0.8218 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.2923, allocations: 164.4 kB / 0.8219 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.2924, allocations: 8 kB / 0.8219 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.2926, allocations: 23.97 kB / 0.822 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.2927, allocations: 31.89 kB / 0.822 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2927, allocations: 16 kB / 0.822 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003864/0.2931, allocations: 330.8 kB / 0.8223 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2931, allocations: 4 kB / 0.8223 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006695/0.2938, allocations: 140 kB / 0.8225 GB, free: 3.273 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.001263/0.2951, allocations: 1.273 MB / 0.8237 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.2966, allocations: 1.075 MB / 0.8248 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.2967, allocations: 0 / 0.8248 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008483/0.2975, allocations: 0.7398 MB / 0.8255 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.2985, allocations: 209.2 kB / 0.8257 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.3046, allocations: 5.187 MB / 0.8307 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3051, allocations: 0.9058 MB / 0.8316 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.3055, allocations: 117.3 kB / 0.8317 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.3057, allocations: 191.4 kB / 0.8319 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of SimCode: time 7.41e-07/0.3057, allocations: 4 kB / 0.8319 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.3433, allocations: 12.53 MB / 0.8442 GB, free: 12.65 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/9.998, allocations: 11.8 kB / 0.8442 GB, free: 12.64 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)