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.0008967/0.0008968, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.00556/0.00556, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.341/1.341, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.545/1.545, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004907/0.0004907, allocations: 16.03 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2367, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005353/0.2421, allocations: 4.479 MB / 0.7924 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003904/0.2461, allocations: 2.476 MB / 0.7948 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.2463, allocations: 23.75 kB / 0.7948 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.2466, allocations: 83.22 kB / 0.7949 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009151/0.2475, allocations: 418 kB / 0.7953 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007312/0.2483, allocations: 338.5 kB / 0.7956 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2493, allocations: 1.128 MB / 0.7967 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007733/0.2501, allocations: 464.3 kB / 0.7972 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.2505, allocations: 294.6 kB / 0.7975 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.2509, allocations: 334.4 kB / 0.7978 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.251, allocations: 20 kB / 0.7978 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007338/0.2517, allocations: 491 kB / 0.7983 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2519, allocations: 163.5 kB / 0.7984 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.2522, allocations: 323.9 kB / 0.7987 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008717/0.2531, allocations: 0.8682 MB / 0.7996 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2531, allocations: 11.86 kB / 0.7996 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2531, allocations: 0 / 0.7996 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.2531, allocations: 4 kB / 0.7996 GB, free: 15.51 MB / 0.6231 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.001149/0.2543, allocations: 0.818 MB / 0.8004 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2543, allocations: 8.031 kB / 0.8004 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.771e-05/0.2544, allocations: 94.69 kB / 0.8005 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.2556, allocations: 203.9 kB / 0.8007 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.2562, allocations: 490.3 kB / 0.8011 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.2563, allocations: 33.36 kB / 0.8012 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.2563, allocations: 52.27 kB / 0.8012 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.2574, allocations: 0.8444 MB / 0.8021 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.2574, allocations: 7.938 kB / 0.8021 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.2575, allocations: 20 kB / 0.8021 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.78e-05/0.2576, allocations: 68.95 kB / 0.8021 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.2583, allocations: 0.5695 MB / 0.8027 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.2622, allocations: 5.658 MB / 0.8082 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.2628, allocations: 454.3 kB / 0.8087 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.2631, allocations: 228.7 kB / 0.8089 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2631, allocations: 4 kB / 0.8089 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2631, allocations: 38.5 kB / 0.8089 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.2632, allocations: 0 / 0.8089 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.00234/0.2655, allocations: 1.512 MB / 0.8104 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2655, allocations: 59.41 kB / 0.8105 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.266, allocations: 495 kB / 0.8109 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.2661, allocations: 33.7 kB / 0.811 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.2663, allocations: 354.8 kB / 0.8113 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.2664, allocations: 126.3 kB / 0.8114 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.2665, allocations: 53.62 kB / 0.8115 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2666, allocations: 362.8 kB / 0.8118 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.2669, allocations: 197.2 kB / 0.812 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.2673, allocations: 458.8 kB / 0.8124 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/0.2681, allocations: 0.6769 MB / 0.8131 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2681, allocations: 4 kB / 0.8131 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001167/0.2693, allocations: 0.8132 MB / 0.8139 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2693, allocations: 12 kB / 0.8139 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.2694, allocations: 8 kB / 0.8139 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/0.2698, allocations: 152.7 kB / 0.8141 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.2703, allocations: 127.7 kB / 0.8142 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.2734, allocations: 4.032 MB / 0.8181 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.2738, allocations: 39.97 kB / 0.8182 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.2738, allocations: 32 kB / 0.8182 GB, free: 10.96 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.00025/0.2741, allocations: 212 kB / 0.8184 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.2742, allocations: 59.44 kB / 0.8184 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009763/0.2752, allocations: 0.6005 MB / 0.819 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2752, allocations: 4 kB / 0.819 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.2752, allocations: 7.938 kB / 0.819 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2752, allocations: 0 / 0.819 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.2768, allocations: 1.265 MB / 0.8203 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2768, allocations: 0 / 0.8203 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.2771, allocations: 55.89 kB / 0.8203 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/0.2774, allocations: 144.3 kB / 0.8205 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.2775, allocations: 8 kB / 0.8205 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.2802, allocations: 4.037 MB / 0.8244 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2803, allocations: 0 / 0.8244 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009184/0.2812, allocations: 0.7077 MB / 0.8251 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.2814, allocations: 172.2 kB / 0.8253 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.2814, allocations: 12 kB / 0.8253 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.2817, allocations: 23.97 kB / 0.8253 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.2817, allocations: 31.89 kB / 0.8253 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2818, allocations: 8 kB / 0.8253 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003282/0.2821, allocations: 334.8 kB / 0.8257 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2821, allocations: 0 / 0.8257 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005767/0.2827, allocations: 144 kB / 0.8258 GB, free: 2.555 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.001238/0.2839, allocations: 1.27 MB / 0.827 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.2852, allocations: 1.037 MB / 0.8281 GB, free: 104 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2853, allocations: 0 / 0.8281 GB, free: 104 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/0.2861, allocations: 0.7346 MB / 0.8288 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2872, allocations: 184.9 kB / 0.829 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.2934, allocations: 5.4 MB / 0.8342 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.294, allocations: 0.9019 MB / 0.8351 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.2944, allocations: 121.3 kB / 0.8352 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.2947, allocations: 203.2 kB / 0.8354 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of SimCode: time 6.82e-07/0.2947, allocations: 0 / 0.8354 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4767/0.7714, allocations: 12 MB / 0.8471 GB, free: 12.36 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.7716, allocations: 229.8 kB / 0.8474 GB, free: 12.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.841, allocations: 0 / 0.8474 GB, free: 12.11 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)