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.000821/0.000821, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.0008632/0.0008632, allocations: 215.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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.9168/0.9168, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.96/1.96, allocations: 0.5045 GB / 0.8104 GB, free: 2.738 MB / 0.6511 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 0.0009225/0.0009225, allocations: 73.95 kB / 1.177 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.309, allocations: 180 MB / 1.352 GB, free: 9.008 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004233/0.3132, allocations: 4.625 MB / 1.357 GB, free: 4.359 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.3155, allocations: 2.401 MB / 1.359 GB, free: 1.949 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.3156, allocations: 35.62 kB / 1.359 GB, free: 1.914 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.3163, allocations: 411.1 kB / 1.36 GB, free: 1.512 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.3169, allocations: 461.7 kB / 1.36 GB, free: 1.059 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.3173, allocations: 373.2 kB / 1.361 GB, free: 0.6953 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008324/0.3181, allocations: 0.9178 MB / 1.361 GB, free: 15.77 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.3185, allocations: 326.6 kB / 1.362 GB, free: 15.45 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.3188, allocations: 358.6 kB / 1.362 GB, free: 15.09 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.3191, allocations: 346.4 kB / 1.362 GB, free: 14.75 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.3191, allocations: 36 kB / 1.362 GB, free: 14.72 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.3194, allocations: 363.2 kB / 1.363 GB, free: 14.36 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3196, allocations: 183.3 kB / 1.363 GB, free: 14.18 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3197, allocations: 266.7 kB / 1.363 GB, free: 13.92 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.3203, allocations: 0.8832 MB / 1.364 GB, free: 13.04 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3203, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3203, allocations: 8 kB / 1.364 GB, free: 13.03 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3203, allocations: 3.938 kB / 1.364 GB, free: 13.02 MB / 1.057 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.0008708/0.3212, allocations: 0.8873 MB / 1.365 GB, free: 12.11 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3212, allocations: 8.922 kB / 1.365 GB, free: 12.1 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.89e-05/0.3213, allocations: 98.69 kB / 1.365 GB, free: 11.99 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.322, allocations: 200.3 kB / 1.365 GB, free: 11.8 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.3225, allocations: 480.8 kB / 1.366 GB, free: 11.3 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3225, allocations: 29.38 kB / 1.366 GB, free: 11.28 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.3226, allocations: 48.36 kB / 1.366 GB, free: 11.23 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.3233, allocations: 0.9738 MB / 1.367 GB, free: 10.09 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3233, allocations: 7.938 kB / 1.367 GB, free: 10.08 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.3234, allocations: 27.97 kB / 1.367 GB, free: 10.05 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.3234, allocations: 68.97 kB / 1.367 GB, free: 9.988 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.324, allocations: 0.5694 MB / 1.367 GB, free: 9.418 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.3267, allocations: 4.708 MB / 1.372 GB, free: 4.512 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.3271, allocations: 422.8 kB / 1.372 GB, free: 4.09 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.3273, allocations: 205.2 kB / 1.373 GB, free: 3.887 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3273, allocations: 7.984 kB / 1.373 GB, free: 3.879 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3273, allocations: 34.56 kB / 1.373 GB, free: 3.836 MB / 1.057 GB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.3274, allocations: 0 / 1.373 GB, free: 3.836 MB / 1.057 GB Notification: Performance of matching and sorting (n=33): time 0.001454/0.3288, allocations: 1.132 MB / 1.374 GB, free: 2.68 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.3288, allocations: 59.67 kB / 1.374 GB, free: 2.609 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.3292, allocations: 0.5027 MB / 1.374 GB, free: 2.098 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.3292, allocations: 37.64 kB / 1.374 GB, free: 2.055 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3293, allocations: 367.8 kB / 1.375 GB, free: 1.691 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.3294, allocations: 123 kB / 1.375 GB, free: 1.57 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.3295, allocations: 110.2 kB / 1.375 GB, free: 1.457 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003308/0.3298, allocations: 358.8 kB / 1.375 GB, free: 1.098 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.33, allocations: 201.2 kB / 1.375 GB, free: 0.9023 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.3303, allocations: 451 kB / 1.376 GB, free: 352 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.3308, allocations: 0.6846 MB / 1.377 GB, free: 15.54 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3308, allocations: 4 kB / 1.377 GB, free: 15.54 MB / 1.073 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000755/0.3316, allocations: 0.8178 MB / 1.377 GB, free: 14.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3316, allocations: 8 kB / 1.377 GB, free: 14.69 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3316, allocations: 8 kB / 1.377 GB, free: 14.68 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.3319, allocations: 152.1 kB / 1.377 GB, free: 14.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.3321, allocations: 127.7 kB / 1.378 GB, free: 14.39 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.334, allocations: 4.031 MB / 1.382 GB, free: 10.02 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3341, allocations: 35.97 kB / 1.382 GB, free: 9.984 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.3341, allocations: 24 kB / 1.382 GB, free: 9.961 MB / 1.073 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.0004198/0.3346, allocations: 221.7 kB / 1.382 GB, free: 9.734 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.3346, allocations: 59.62 kB / 1.382 GB, free: 9.676 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.3352, allocations: 0.5929 MB / 1.382 GB, free: 9.059 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3352, allocations: 7.938 kB / 1.382 GB, free: 9.051 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3353, allocations: 4 kB / 1.382 GB, free: 9.047 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3353, allocations: 3.984 kB / 1.382 GB, free: 9.043 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3363, allocations: 1.179 MB / 1.384 GB, free: 7.777 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3363, allocations: 8.141 kB / 1.384 GB, free: 7.77 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.3364, allocations: 59.89 kB / 1.384 GB, free: 7.711 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.3366, allocations: 140.2 kB / 1.384 GB, free: 7.559 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3367, allocations: 15.88 kB / 1.384 GB, free: 7.543 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.3384, allocations: 4.019 MB / 1.388 GB, free: 3.18 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3384, allocations: 4.062 kB / 1.388 GB, free: 3.176 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.3392, allocations: 0.7094 MB / 1.388 GB, free: 2.414 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3393, allocations: 95.53 kB / 1.389 GB, free: 2.32 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.3394, allocations: 8 kB / 1.389 GB, free: 2.312 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3395, allocations: 23.97 kB / 1.389 GB, free: 2.289 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.3396, allocations: 39.81 kB / 1.389 GB, free: 2.25 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3396, allocations: 16 kB / 1.389 GB, free: 2.234 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0002152/0.3398, allocations: 330.8 kB / 1.389 GB, free: 1.914 MB / 1.073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3398, allocations: 0 / 1.389 GB, free: 1.914 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0003633/0.3401, allocations: 144 kB / 1.389 GB, free: 1.773 MB / 1.073 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.0007744/0.3409, allocations: 1.253 MB / 1.39 GB, free: 464 kB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0007847/0.3417, allocations: 0.8624 MB / 1.391 GB, free: 15.55 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3417, allocations: 0 / 1.391 GB, free: 15.55 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.3421, allocations: 0.576 MB / 1.392 GB, free: 14.93 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3427, allocations: 212.9 kB / 1.392 GB, free: 14.73 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.3468, allocations: 5.111 MB / 1.397 GB, free: 9.234 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.347, allocations: 303.5 kB / 1.397 GB, free: 8.906 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.000201/0.3472, allocations: 121.3 kB / 1.397 GB, free: 8.785 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3473, allocations: 199.3 kB / 1.397 GB, free: 8.594 MB / 1.089 GB Notification: Performance of SimCode: time 5.81e-07/0.3473, allocations: 0 / 1.397 GB, free: 8.594 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/0.4712, allocations: 14.16 MB / 1.411 GB, free: 10.82 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.839, allocations: 4.469 kB / 1.411 GB, free: 10.82 MB / 1.104 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: 12.96158632170409]