Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008526/0.0008526, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008139/0.0008139, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8588/0.8588, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.745/1.745, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.136e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004764/0.004775, allocations: 4.569 MB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.008152, allocations: 2.381 MB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.0084, allocations: 35.62 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008995/0.0093, allocations: 413.8 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007692/0.01007, allocations: 485.1 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.01066, allocations: 382.1 kB / 1.009 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0008201/0.01148, allocations: 0.9409 MB / 1.01 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.01192, allocations: 322.4 kB / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.01247, allocations: 490.6 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.01286, allocations: 303.1 kB / 1.011 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.01292, allocations: 36 kB / 1.011 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.01337, allocations: 374.9 kB / 1.011 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.01355, allocations: 195.3 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.01375, allocations: 207.5 kB / 1.011 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008525/0.0146, allocations: 0.9072 MB / 1.012 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01461, allocations: 0 / 1.012 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01461, allocations: 0 / 1.012 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.01462, allocations: 0 / 1.012 GB, free: 1.492 MB / 0.9636 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.001157/0.01577, allocations: 0.8741 MB / 1.013 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.01581, allocations: 13.34 kB / 1.013 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.683e-05/0.01591, allocations: 94.69 kB / 1.013 GB, free: 480 kB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.01707, allocations: 212.2 kB / 1.014 GB, free: 268 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.01777, allocations: 472.1 kB / 1.014 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.0178, allocations: 33.31 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.01787, allocations: 52.3 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.01891, allocations: 0.9666 MB / 1.015 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.01894, allocations: 12.12 kB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.01899, allocations: 28.11 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-05/0.01908, allocations: 68.95 kB / 1.015 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.0199, allocations: 0.5616 MB / 1.016 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.02338, allocations: 4.697 MB / 1.02 GB, free: 9.004 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.02382, allocations: 422.2 kB / 1.021 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.02402, allocations: 205.2 kB / 1.021 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.02404, allocations: 7.984 kB / 1.021 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.02406, allocations: 42.56 kB / 1.021 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.02406, allocations: 0 / 1.021 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001434/0.0255, allocations: 1.121 MB / 1.022 GB, free: 7.176 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.02553, allocations: 63.62 kB / 1.022 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.02586, allocations: 0.5027 MB / 1.023 GB, free: 6.59 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.02589, allocations: 29.7 kB / 1.023 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.02605, allocations: 371.7 kB / 1.023 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.02611, allocations: 126.9 kB / 1.023 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.0262, allocations: 114.2 kB / 1.023 GB, free: 5.941 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.0263, allocations: 358.8 kB / 1.023 GB, free: 5.582 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.02649, allocations: 193.2 kB / 1.024 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.02677, allocations: 451.3 kB / 1.024 GB, free: 4.836 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.0273, allocations: 0.6885 MB / 1.025 GB, free: 4.031 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0273, allocations: 0 / 1.025 GB, free: 4.031 MB / 0.9792 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007662/0.02807, allocations: 0.8176 MB / 1.026 GB, free: 3.191 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.02808, allocations: 10.66 kB / 1.026 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.02809, allocations: 8 kB / 1.026 GB, free: 3.176 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/0.02837, allocations: 152.5 kB / 1.026 GB, free: 3.012 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.02861, allocations: 123.8 kB / 1.026 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.03051, allocations: 4.023 MB / 1.03 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.0307, allocations: 39.97 kB / 1.03 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.03072, allocations: 28 kB / 1.03 GB, free: 14.46 MB / 0.9948 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.0001593/0.03088, allocations: 220.3 kB / 1.03 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.03093, allocations: 67.58 kB / 1.03 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/0.03154, allocations: 0.5929 MB / 1.031 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.03154, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.03154, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.03154, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.0326, allocations: 1.19 MB / 1.032 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.03261, allocations: 4 kB / 1.032 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.03273, allocations: 51.89 kB / 1.032 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.03295, allocations: 148.1 kB / 1.032 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.03296, allocations: 8 kB / 1.032 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.03465, allocations: 4.007 MB / 1.036 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.03465, allocations: 7.969 kB / 1.036 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.03523, allocations: 0.7045 MB / 1.037 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.03534, allocations: 87.58 kB / 1.037 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.03538, allocations: 12 kB / 1.037 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.03551, allocations: 27.91 kB / 1.037 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.03556, allocations: 31.89 kB / 1.037 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.03557, allocations: 8 kB / 1.037 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002164/0.03578, allocations: 338.9 kB / 1.037 GB, free: 6.438 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.03578, allocations: 4 kB / 1.037 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003744/0.03616, allocations: 140 kB / 1.037 GB, free: 6.297 MB / 0.9948 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.0007669/0.03693, allocations: 1.249 MB / 1.038 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007637/0.03769, allocations: 0.8586 MB / 1.039 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.03769, allocations: 4.062 kB / 1.039 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.03808, allocations: 0.564 MB / 1.04 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.03863, allocations: 208.9 kB / 1.04 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.04254, allocations: 5.095 MB / 1.045 GB, free: 13.79 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.04272, allocations: 307.6 kB / 1.045 GB, free: 13.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.04291, allocations: 121.3 kB / 1.045 GB, free: 13.34 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.04307, allocations: 196.4 kB / 1.046 GB, free: 13.14 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/0.04307, allocations: 0 / 1.046 GB, free: 13.14 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4321/0.4752, allocations: 14.25 MB / 1.06 GB, free: 96.69 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.55, allocations: 10.2 kB / 1.06 GB, free: 96.69 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.900757823139429]