Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 183.6 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008023/0.0008023, allocations: 97.27 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.159e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.213, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7764/0.9895, allocations: 147.7 MB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.9898, allocations: 97.55 kB / 1.03 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07099/1.061, allocations: 29.34 MB / 1.058 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/1.061, allocations: 4 kB / 1.058 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.804e-05/1.061, allocations: 16 kB / 1.058 GB, free: 14.84 MB / 0.6823 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.001726/1.063, allocations: 0.7785 MB / 1.059 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.516e-05/1.063, allocations: 8.031 kB / 1.059 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/1.064, allocations: 206.9 kB / 1.059 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/1.065, allocations: 482 kB / 1.06 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/1.065, allocations: 19.98 kB / 1.06 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.065, allocations: 27.91 kB / 1.06 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007823/1.066, allocations: 426.8 kB / 1.06 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/1.067, allocations: 0.8487 MB / 1.061 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/1.067, allocations: 7.938 kB / 1.061 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/1.068, allocations: 4 kB / 1.061 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.961e-05/1.068, allocations: 58.75 kB / 1.061 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/1.073, allocations: 5.543 MB / 1.067 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/1.074, allocations: 436.9 kB / 1.067 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/1.074, allocations: 215.3 kB / 1.067 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.074, allocations: 4 kB / 1.067 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/1.074, allocations: 38.06 kB / 1.067 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/1.074, allocations: 0 / 1.067 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001666/1.076, allocations: 0.8117 MB / 1.068 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.076, allocations: 59.36 kB / 1.068 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/1.076, allocations: 344 kB / 1.068 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/1.076, allocations: 33.7 kB / 1.068 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/1.076, allocations: 350.6 kB / 1.069 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/1.077, allocations: 115.9 kB / 1.069 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/1.077, allocations: 0 / 1.069 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.077, allocations: 355.9 kB / 1.069 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/1.077, allocations: 170.3 kB / 1.069 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/1.077, allocations: 394.8 kB / 1.07 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/1.078, allocations: 238.6 kB / 1.07 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.078, allocations: 0 / 1.07 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001069/1.079, allocations: 0.6924 MB / 1.071 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.079, allocations: 8 kB / 1.071 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.079, allocations: 7.984 kB / 1.071 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/1.079, allocations: 151.1 kB / 1.071 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/1.08, allocations: 115.7 kB / 1.071 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/1.083, allocations: 3.867 MB / 1.075 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/1.084, allocations: 28.22 kB / 1.075 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/1.084, allocations: 29.61 kB / 1.075 GB, free: 14.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.084, allocations: 129.9 kB / 1.075 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008813/1.085, allocations: 0.5168 MB / 1.075 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.085, allocations: 67.02 kB / 1.075 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009896/1.086, allocations: 0.5449 MB / 1.076 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.086, allocations: 4 kB / 1.076 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.086, allocations: 7.938 kB / 1.076 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.086, allocations: 0 / 1.076 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/1.088, allocations: 1.153 MB / 1.077 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.088, allocations: 8 kB / 1.077 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/1.088, allocations: 56.11 kB / 1.077 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/1.088, allocations: 136.9 kB / 1.077 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/1.088, allocations: 4 kB / 1.077 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/1.091, allocations: 3.869 MB / 1.081 GB, free: 8.395 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.091, allocations: 4 kB / 1.081 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/1.092, allocations: 0.7553 MB / 1.082 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/1.092, allocations: 167.3 kB / 1.082 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/1.092, allocations: 4 kB / 1.082 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/1.093, allocations: 15.97 kB / 1.082 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/1.093, allocations: 39.41 kB / 1.082 GB, free: 7.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/1.093, allocations: 8 kB / 1.082 GB, free: 7.434 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002693/1.093, allocations: 263.7 kB / 1.082 GB, free: 7.234 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.093, allocations: 0 / 1.082 GB, free: 7.234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006706/1.094, allocations: 124 kB / 1.082 GB, free: 7.113 MB / 0.698 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/1.095, allocations: 1.79 MB / 1.084 GB, free: 5.355 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.097, allocations: 0.9529 MB / 1.085 GB, free: 4.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.097, allocations: 4.125 kB / 1.085 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/1.097, allocations: 0.7036 MB / 1.086 GB, free: 3.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008284/1.098, allocations: 167.9 kB / 1.086 GB, free: 3.617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/1.1, allocations: 0.8323 MB / 1.087 GB, free: 2.809 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/1.1, allocations: 0.9196 MB / 1.088 GB, free: 1.871 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003794/1.101, allocations: 108.8 kB / 1.088 GB, free: 1.766 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/1.101, allocations: 191.3 kB / 1.088 GB, free: 1.715 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.101, allocations: 0 / 1.088 GB, free: 1.715 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/1.137, allocations: 10.64 MB / 1.098 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.137, allocations: 165.3 kB / 1.098 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/3.264, allocations: 0 / 1.098 GB, free: 6.988 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)